!127 [sync] PR-124: disable qt6 for sw_64

From: @openeuler-sync-bot 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
This commit is contained in:
openeuler-ci-bot 2025-04-07 05:55:29 +00:00 committed by Gitee
commit 9c3ca71448
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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