diff --git a/poppler.spec b/poppler.spec index ab7aebb7c2f0c3cb25b737a900c3872d54c6af23..11e894c898eb520966f1555472c1eb4d92b3ea84 100644 --- a/poppler.spec +++ b/poppler.spec @@ -1,10 +1,14 @@ %global test_sha 03a4b9eb854a06a83c465e82de601796c458bbe9 %global test_date 2021-01-11 +%ifarch loongarch64 +%global qt6 0 +%else %global qt6 1 +%endif Name: poppler Version: 23.12.0 -Release: 1 +Release: 2 Summary: PDF rendering library License: GPLv2+ and LGPLv2+ and MIT URL: http://poppler.freedesktop.org/ @@ -162,6 +166,9 @@ cd build -DENABLE_LIBOPENJPEG=openjpeg2 \ -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ -DENABLE_ZLIB=OFF \ +%ifarch loongarch64 + -DENABLE_QT6=OFF \ +%endif .. %make_build @@ -253,6 +260,9 @@ test "$(pkg-config --modversion poppler-qt6)" = "%{version}" %{_mandir}/man1/* %changelog +* Tue Apr 16 2024 Wenlong Zhang - 23.12.0-2 +- disable qt6 for loongarch64 + * Thu Dec 28 2023 Paul Thomas - 23.12.0-1 - update to version 23.12.0