disable qt6 for sw_64

This commit is contained in:
yueyaoqiang 2025-03-28 11:24:00 +08:00
parent d1ddf85048
commit 3f1cbafecb

View File

@ -1,6 +1,6 @@
%global test_sha 03a4b9eb854a06a83c465e82de601796c458bbe9
%global test_date 2021-01-11
%ifarch loongarch64
%ifarch loongarch64 sw_64
%global qt6 0
%else
%global qt6 1
@ -8,7 +8,7 @@
Name: poppler
Version: 23.12.0
Release: 4
Release: 5
Summary: PDF rendering library
License: GPLv2+ and LGPLv2+ and MIT
URL: http://poppler.freedesktop.org/
@ -169,7 +169,7 @@ cd build
-DENABLE_LIBOPENJPEG=openjpeg2 \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-DENABLE_ZLIB=OFF \
%ifarch loongarch64
%ifarch loongarch64 sw_64
-DENABLE_QT6=OFF \
%endif
..
@ -263,6 +263,9 @@ test "$(pkg-config --modversion poppler-qt6)" = "%{version}"
%{_mandir}/man1/*
%changelog
* Fri Mar 28 2025 yueyaoqiang <yueyaoqiang@kylinos.cn> - 23.12.0-5
- disable qt6 for sw_64
* Mon Dec 23 2024 Funda Wang <fundawang@yeah.net> - 23.12.0-4
- fix CVE-2024-56378