disable qt6 for sw_64

(cherry picked from commit ad91f293446312fbb424cf6f875b17cf0a0bc907)
This commit is contained in:
yueyaoqiang 2025-04-07 10:21:36 +08:00 committed by openeuler-sync-bot
parent ba4a766a89
commit aef521c231

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: 5
Release: 6
Summary: PDF rendering library
License: GPLv2+ and LGPLv2+ and MIT
URL: http://poppler.freedesktop.org/
@ -171,7 +171,9 @@ cd build
-DENABLE_LIBOPENJPEG=openjpeg2 \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
-DENABLE_ZLIB=OFF \
%ifarch loongarch64
%if 0%{?qt6}
-DENABLE_QT6=ON \
%else
-DENABLE_QT6=OFF \
%endif
..
@ -265,9 +267,12 @@ test "$(pkg-config --modversion poppler-qt6)" = "%{version}"
%{_mandir}/man1/*
%changelog
* Sun Apr 06 2025 Funda Wang <fundawang@yeah.net> - 23.12.0-5
* Mon Apr 07 2025 Funda Wang <fundawang@yeah.net> - 23.12.0-6
- fix CVE-2025-32364, CVE-2025-32365
* 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