summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poppler.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/poppler.spec b/poppler.spec
index 590ac89..abf92a9 100644
--- a/poppler.spec
+++ b/poppler.spec
@@ -1,11 +1,11 @@
-%global __cmake_in_source_build 0
+%undefine __cmake_in_source_build
%global test_sha ff3133cdb6cb496ee1d2c3231bfa35006a5e8410
%global qt6 1
Name: poppler
Version: 24.03.0
-Release: 5
+Release: 6
Summary: PDF rendering library
License: GPLv2+ and LGPLv2+ and MIT
URL: http://poppler.freedesktop.org/
@@ -167,7 +167,7 @@ sed -i "/check_signature_basics/d" {qt5,qt6}/tests/CMakeLists.txt
-DENABLE_LIBOPENJPEG=openjpeg2 \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-DENABLE_ZLIB=OFF \
- -DTESTDATADIR=%{_builddir}/%{name}-%{version}/test-%{test_sha}
+ -DTESTDATADIR=%{_builddir}/%{buildsubdir}/test-%{test_sha}
%cmake_build
%install
@@ -248,6 +248,9 @@ test "$(pkg-config --modversion poppler-qt6)" = "%{version}"
%{_mandir}/man1/*
%changelog
+* Tue Feb 04 2025 Funda Wang <fundawang@yeah.net> - 24.03.0-6
+- fix build with latest cmake migration
+
* Tue Dec 24 2024 lingsheng <lingsheng1@h-partners.com> - 24.03.0-5
- fix CVE-2024-56378