From 9ab30cb155e80608f4e3913f92045366a30af319 Mon Sep 17 00:00:00 2001 From: zhangxianjun Date: Mon, 18 Nov 2024 17:34:15 +0800 Subject: [PATCH] fix build error --- okular.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/okular.spec b/okular.spec index 8b2b881..1b4cce6 100644 --- a/okular.spec +++ b/okular.spec @@ -12,7 +12,7 @@ Name: okular Summary: A document viewer Version: 23.08.4 -Release: 1 +Release: 2 License: GPLv2 URL: https://www.kde.org/applications/graphics/okular/ @@ -144,14 +144,12 @@ sed -i -e 's|^add_subdirectory( mobile )|#add_subdirectory( mobile )|' CMakeList %build -%cmake_kf5 -DOKULAR_UI=both \ +%{cmake_kf5} -DOKULAR_UI=both \ -DFORCE_NOT_REQUIRED_DEPENDENCIES="CHM;LibZip;DjVuLibre;EPub;" - -%make_build - +%{cmake_build} %install -%{make_install} +%{cmake_install} %find_lang all --all-name --with-html --with-man grep -v \ @@ -215,6 +213,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.ok %changelog +* Mon Nov 18 2024 zhangxianjun - 23.08.4-2 +- adapt to the new CMake macros to fix build failure + * Tue Jan 02 2024 lvgenggeng - 23.08.4-1 - bump to 23.08.4 -- Gitee