[packages/kf5-attica] - bcond_with tests
witekfl
witekfl at pld-linux.org
Tue Apr 5 18:00:54 CEST 2022
commit d0125b1ca144b1297ba9b77de450cb40618e99b0
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Tue Apr 5 18:00:44 2022 +0200
- bcond_with tests
kf5-attica.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/kf5-attica.spec b/kf5-attica.spec
index 079164a..57ed403 100644
--- a/kf5-attica.spec
+++ b/kf5-attica.spec
@@ -65,12 +65,14 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
install -d build
cd build
%cmake -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
..
%ninja_build
%{?with_tests:%ninja_build test}
+
%install
rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf5-attica.git/commitdiff/d0125b1ca144b1297ba9b77de450cb40618e99b0
More information about the pld-cvs-commit
mailing list