The package rpms/python-glymur.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-glymur.git/commit/?id=5c9b...
https://src.fedoraproject.org/cgit/rpms/python-glymur.git/commit/?id=4bd7....
Change:
-%ifnarch s390x
+%ifnarch s390x
Thanks.
Full change:
============
commit 5c9bc0dad67fb4908c7ea9e3d0c11292cda8063a
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Tue May 23 17:29:13 2023 -0400
Update to 0.12.7 (close RHBZ#2208378)
diff --git a/.gitignore b/.gitignore
index 61721cd..15d4949 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
/python-glymur-0.12.4.tar.gz
/python-glymur-0.12.5.tar.gz
/python-glymur-0.12.6post1.tar.gz
+/python-glymur-0.12.7.tar.gz
diff --git a/python-glymur.spec b/python-glymur.spec
index 96c351c..b2be529 100644
--- a/python-glymur.spec
+++ b/python-glymur.spec
@@ -1,6 +1,5 @@
Name: python-glymur
-Version: 0.12.6.post1
-%global srcversion %(echo '%{version}' | sed -r 's/\\.(post)/\\1/')
+Version: 0.12.7
Release: %autorelease
Summary: Interface to the OpenJPEG library for working with JPEG 2000 files
@@ -8,7 +7,7 @@ Summary: Interface to the OpenJPEG library for working with JPEG
2000 fil
License: MIT
URL:
https://pypi.org/project/Glymur/
# The PyPI sdist lacks documentation.
-Source0:
https://github.com/quintusdias/glymur/archive/v%{srcversion}/%{name}-%{sr...
+Source0:
https://github.com/quintusdias/glymur/archive/v%{version}/%{name}-%{versi...
# Man pages hand-written for Fedora in groff_man(7) format based on --help
# output:
Source1: jp2dump.1
@@ -54,7 +53,7 @@ Recommends: python3dist(gdal)
%prep
-%autosetup -n glymur-%{srcversion}
+%autosetup -n glymur-%{version}
%generate_buildrequires
@@ -73,18 +72,7 @@ install -m 0644 -p -D -t %{buildroot}%{_mandir}/man1 %{SOURCE1}
%{SOURCE2}
%check
-%ifnarch s390x
-# Loading the images in these tests on little-endian platforms requires
-# python3dist(imagecodecs), which is not currently packaged. The result is
-# messages like:
-#
-# ValueError: TiffPage 0: <COMPRESSION.JPEG: 7> requires the
'imagecodecs'
-# package
-k="${k-}${k+ and }not test_rgba_interface_big_endian"
-k="${k-}${k+ and }not test_rgba_interface_big_endian_stripped"
-k="${k-}${k+ and }not test_rgba_interface_big_endian_tiled"
-%endif
-%pytest -v -k "${k-}"
+%pytest -v
%files -n python3-glymur -f %{pyproject_files}
diff --git a/sources b/sources
index 286db7d..bd193e3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-glymur-0.12.6post1.tar.gz) =
ec34926488465902dd5bc3edafff8ea6ebfa555b53e59d3f1c0dddb8dd5f568eaadf8c2fa57e49e73584e5f557283b9d63cffcfdebf908fc7093daa0d3c1b4fb
+SHA512 (python-glymur-0.12.7.tar.gz) =
8f93584fd11f0c53e7dd64567d6fec9b1d61db54c93ae88b07c1ec512fa68c4e27fbd9a74b9cbedcf1c3e03134293c51030d2368081d030dbcdd3935230caf5e
commit 4bd744e9d8c93b7c35e67483f314d246d5e467a7
Author: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Fri May 19 08:15:06 2023 -0400
Update to 0.12.6^post1
diff --git a/.gitignore b/.gitignore
index bbf0ad6..61721cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
/python-glymur-0.12.3.tar.gz
/python-glymur-0.12.4.tar.gz
/python-glymur-0.12.5.tar.gz
+/python-glymur-0.12.6post1.tar.gz
diff --git a/python-glymur.spec b/python-glymur.spec
index 1eb0912..96c351c 100644
--- a/python-glymur.spec
+++ b/python-glymur.spec
@@ -1,5 +1,6 @@
Name: python-glymur
-Version: 0.12.5
+Version: 0.12.6.post1
+%global srcversion %(echo '%{version}' | sed -r 's/\\.(post)/\\1/')
Release: %autorelease
Summary: Interface to the OpenJPEG library for working with JPEG 2000 files
@@ -7,7 +8,7 @@ Summary: Interface to the OpenJPEG library for working with JPEG
2000 fil
License: MIT
URL:
https://pypi.org/project/Glymur/
# The PyPI sdist lacks documentation.
-Source0:
https://github.com/quintusdias/glymur/archive/v%{version}/%{name}-%{versi...
+Source0:
https://github.com/quintusdias/glymur/archive/v%{srcversion}/%{name}-%{sr...
# Man pages hand-written for Fedora in groff_man(7) format based on --help
# output:
Source1: jp2dump.1
@@ -53,7 +54,7 @@ Recommends: python3dist(gdal)
%prep
-%autosetup -n glymur-%{version}
+%autosetup -n glymur-%{srcversion}
%generate_buildrequires
@@ -72,7 +73,18 @@ install -m 0644 -p -D -t %{buildroot}%{_mandir}/man1 %{SOURCE1}
%{SOURCE2}
%check
-%pytest -v
+%ifnarch s390x
+# Loading the images in these tests on little-endian platforms requires
+# python3dist(imagecodecs), which is not currently packaged. The result is
+# messages like:
+#
+# ValueError: TiffPage 0: <COMPRESSION.JPEG: 7> requires the
'imagecodecs'
+# package
+k="${k-}${k+ and }not test_rgba_interface_big_endian"
+k="${k-}${k+ and }not test_rgba_interface_big_endian_stripped"
+k="${k-}${k+ and }not test_rgba_interface_big_endian_tiled"
+%endif
+%pytest -v -k "${k-}"
%files -n python3-glymur -f %{pyproject_files}
diff --git a/sources b/sources
index b01fccc..286db7d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-glymur-0.12.5.tar.gz) =
7495c4f73d411deb4585606382840c5c273e5aaa721bd2ba67d1dc91145f85a8856ae698b8e279fc796745fb2f68384e375e6d2a146ba59d53ca934169f0347c
+SHA512 (python-glymur-0.12.6post1.tar.gz) =
ec34926488465902dd5bc3edafff8ea6ebfa555b53e59d3f1c0dddb8dd5f568eaadf8c2fa57e49e73584e5f557283b9d63cffcfdebf908fc7093daa0d3c1b4fb
diff --git a/tiff2jp2.1 b/tiff2jp2.1
index 135a0b5..f81958f 100644
--- a/tiff2jp2.1
+++ b/tiff2jp2.1
@@ -1,4 +1,4 @@
-.TH TIFF2JP2 "1" "August 2022" "" "User
Commands"
+.TH TIFF2JP2 "1" "May 2023" "" "User Commands"
.SH NAME
.B tiff2jp2
\(en convert TIFF to JPEG 2000
@@ -6,8 +6,8 @@
.B tiff2jp2
.RB [ \-\-capture\-resolution\ \fIVRESC\fR\ \fIHRESC ]
.RB [ \-\-display\-resolution\ \fIVRESD\fR\ \fIHRESD ]
-.RB [ \-\-cratio\ \fICRATIO ]
-.RB [ \-\-psnr\ \fIPSNR ]
+.RB [ \-\-cratio \ \fICRATIO \ [ \fICRATIO \ ...]]
+.RB [ \-\-psnr \ \fIPSNR \ [ \fIPSNR \ ...]]
.RB [ \-\-codeblocksize\ \fIcblkh\fR\ \fIcblkw ]
.RB [ \-\-numres\ \fINUMRES ]
.RB [ \-\-prog\ { lrcp , rlcp , rpcl , prcl , cprl }]
@@ -17,8 +17,10 @@
.RB [ \-\-sop ]
.RB [ \-\-create\-exif\-uuid ]
.RB [ \-\-create\-xmp\-uuid ]
+.RB [ \-\-include\-icc\-profile ]
.RB [ \-\-exclude\-tags\ [\fIEXCLUDE_TAGS\fR\ ...]]
.RB [ \-\-tilesize\ \fINROWS\fR\ \fINCOLS ]
+.RB [ \-\-num\-threads\ \fINUM_THREADS ]
.RB [ \-\-help ]
.RB [ \-\-verbosity\ { critical , error , warning , info , debug }]
.I tifffile
@@ -59,15 +61,13 @@ Display resolution parameters
(default:
.BR None )
.TP
-.B \-\-cratio\ \fICRATIO
+.B \-\-cratio\ \fICRATIO\fR\ [\fICRATIO\fR\ ...]
Compression ratio for successive layers.
-You may specify more than once to get multiple layers.
(default:
.BR None )
.TP
-.B \-\-psnr\ \fIPSNR
+.B \-\-psnr\ \fIPSNR\fR\ [\fIPSNR\fR\ ...]
PSNR for successive layers.
-You may specify more than once to get multiple layers.
(default:
.BR None )
.TP
@@ -79,7 +79,7 @@ Codeblock size.
.B \-\-numres\ \fINUMRES
Number of decomposition levels.
(default:
-.BR 0 )
+.BR 6 )
.TP
.BR \-\-prog\ { lrcp , rlcp , rpcl , prcl , cprl }
Progression order.
@@ -105,6 +105,11 @@ Generate PLT markers.
Generate SOP markers.
(default:
.BR False )
+.TP
+.B \-\-num\-threads\ \fINUM_THREADS
+Use this many threads/cores.
+(default:
+.BR 1 )
.SS "TIFF"
Arguments specific to conversion of TIFF imagery.
.TP
@@ -135,11 +140,6 @@ If not provided, the JPEG2000 image will be written as a single
tile.
(default:
.BR None )
.TP
-.B \-\-nouuid
-Do not create UUID box for TIFF metadata.
-(default:
-.BR True )
-.TP
.I tiffile
Input TIFF file.
.TP