From 619db00a0c3212dc41c1f9af597172278bb36848 Mon Sep 17 00:00:00 2001 From: dongyuzhen Date: Tue, 12 Apr 2022 19:35:33 +0800 Subject: [PATCH] remove all third party libraries and fix the issue of opj2_compress/opj2_decompress don't work with png/tiff images --- openjpeg2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openjpeg2.spec b/openjpeg2.spec index e1d87fe..e52cfe9 100644 --- a/openjpeg2.spec +++ b/openjpeg2.spec @@ -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 - 2.4.0-5 +- fix the issue of opj2_compress/opj2_decompress don't work with png/tiff images + * Tue Jan 18 2022 yangcheng - 2.4.0-4 - fix poppler compilation failed to find opj2_decompress -- Gitee