[packages/kp5-discover] - macros for ninja
qboosh
qboosh at pld-linux.org
Fri Apr 19 22:14:08 CEST 2024
commit 553ea6000ee151af113512da7659907ecb8a3cd9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Apr 19 21:58:39 2024 +0200
- macros for ninja
kp5-discover.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/kp5-discover.spec b/kp5-discover.spec
index 9ecbd1f..a775133 100644
--- a/kp5-discover.spec
+++ b/kp5-discover.spec
@@ -54,7 +54,7 @@ BuildRequires: kf5-solid-devel
BuildRequires: libmarkdown-devel
BuildRequires: ninja
BuildRequires: qt5-build >= %{qtver}
-BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Suggests: flatpak
@@ -73,6 +73,7 @@ discover
%{!?with_tests:-DBUILD_TESTING=OFF} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DHTML_INSTALL_DIR=%{_kdedocdir}
+
%ninja_build -C build
%if %{with tests}
@@ -81,6 +82,7 @@ ctest
%install
rm -rf $RPM_BUILD_ROOT
+
%ninja_install -C build
# not supported by glibc yet
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp5-discover.git/commitdiff/d60f73b4d66da5120772aeaa51bf7eabd0fcfbb7
More information about the pld-cvs-commit
mailing list