Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/jasper.git#d22f3a86d5e20fa60cb4c88b839d55f81e12f118
This commit is contained in:
DistroBaker 2021-03-28 23:05:45 +00:00
parent 6732bf4d9b
commit 7163664d2c
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@ jasper-1.900.1.zip
/version-2.0.24.tar.gz /version-2.0.24.tar.gz
/version-2.0.25.tar.gz /version-2.0.25.tar.gz
/version-2.0.26.tar.gz /version-2.0.26.tar.gz
/version-2.0.27.tar.gz

View File

@ -5,8 +5,8 @@
Summary: Implementation of the JPEG-2000 standard, Part 1 Summary: Implementation of the JPEG-2000 standard, Part 1
Name: jasper Name: jasper
Version: 2.0.26 Version: 2.0.27
Release: 2%{?dist} Release: 1%{?dist}
License: JasPer License: JasPer
URL: http://www.ece.uvic.ca/~frodo/jasper/ URL: http://www.ece.uvic.ca/~frodo/jasper/
@ -15,7 +15,6 @@ Source0: https://github.com/jasper-software/jasper/archive/version-%{version}.ta
# skip hard-coded prefix/lib rpath # skip hard-coded prefix/lib rpath
Patch2: jasper-2.0.14-rpath.patch Patch2: jasper-2.0.14-rpath.patch
Patch3: jasper-freeglut.patch Patch3: jasper-freeglut.patch
Patch4: jasper-CVE-2021-3443.patch
# architecture related patches # architecture related patches
Patch100: jasper-2.0.2-test-ppc64-disable.patch Patch100: jasper-2.0.2-test-ppc64-disable.patch
@ -69,7 +68,6 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# Need to disable one test to be able to build it on ppc64 arch # Need to disable one test to be able to build it on ppc64 arch
# At ppc64 this test just stuck (nothing happend - no exception or error) # At ppc64 this test just stuck (nothing happend - no exception or error)
%patch3 -p1 -b .freeglut %patch3 -p1 -b .freeglut
%patch4 -p1 -b .CVE-2021-3443
%if "%{_arch}" == "ppc64" %if "%{_arch}" == "ppc64"
%patch100 -p1 -b .test-ppc64-disable %patch100 -p1 -b .test-ppc64-disable
@ -101,6 +99,10 @@ rm -f %{buildroot}%{_libdir}/lib*.la
%check %check
%ifarch %ix86 %{arm}
rm data/test/bad/277.jp2
%endif
make test -C builder make test -C builder
%ldconfig_scriptlets libs %ldconfig_scriptlets libs
@ -130,6 +132,9 @@ make test -C builder
%changelog %changelog
* Wed Mar 24 2021 Josef Ridky <jridky@redhat.com> - 2.0.27-1
- New upstream release 2.0.27 (#1940455)
* Tue Mar 16 2021 Josef Ridky <jridky@redhat.com> - 2.0.26-2 * Tue Mar 16 2021 Josef Ridky <jridky@redhat.com> - 2.0.26-2
- Fix CVE-2021-3443 (#1939233) - Fix CVE-2021-3443 (#1939233)

View File

@ -1 +1 @@
SHA512 (version-2.0.26.tar.gz) = 083df81674439bac4f328d2a53d9cb58995d624dcb572b83d47bbc4e5c50209cf83eab0ac62cb2576f0518565e54715b883f752a60ac42de930d4918b12a6281 SHA512 (version-2.0.27.tar.gz) = c5d336d8364d593a785b65e7114e33cc53638e28d3b5101a8f20da653a116a54b684d5d285cb4e6ddd786ff5f294781291f3675fa5078fc69eb3a4a8ef155ea9