remove all third party libraries and fix the issue of opj2_compress/opj2_decompress don't work with png/tiff images

This commit is contained in:
dongyuzhen 2022-04-12 19:35:33 +08:00
parent fc91112d7f
commit 619db00a0c

View File

@ -1,6 +1,6 @@
Name: openjpeg2
Version: 2.4.0
Release: 4
Release: 5
Summary: C-Library for JPEG 2000
License: BSD and MIT
URL: https://github.com/uclouvain/openjpeg
@ -44,7 +44,8 @@ Command line tools for JPEG 2000 file manipulation, using OpenJPEG2:
%prep
%autosetup -n openjpeg-%{version} -p1
# rm -rf thirdparty
# Remove all third party libraries just to be sure
find thirdparty/ -mindepth 1 -maxdepth 1 -type d -exec rm -rf {} \;
%build
mkdir %{_target_platform}
@ -98,6 +99,9 @@ mv %{buildroot}%{_mandir}/man1/opj_dump.1 %{buildroot}%{_mandir}/man1/opj2_dump.
%{_bindir}/opj2_dump
%changelog
* Tue Apr 12 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2.4.0-5
- fix the issue of opj2_compress/opj2_decompress don't work with png/tiff images
* Tue Jan 18 2022 yangcheng <yangcheng87@huawei.com> - 2.4.0-4
- fix poppler compilation failed to find opj2_decompress