[packages/kf5-baloo] - bcond_with tests

witekfl witekfl at pld-linux.org
Tue Apr 5 18:03:01 CEST 2022


commit 2f8a28d1a6b074684e91d94d41c7aba06131a5fd
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Tue Apr 5 18:02:57 2022 +0200

    - bcond_with tests

 kf5-baloo.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/kf5-baloo.spec b/kf5-baloo.spec
index fda9280..0e7b55c 100644
--- a/kf5-baloo.spec
+++ b/kf5-baloo.spec
@@ -68,12 +68,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-baloo.git/commitdiff/2f8a28d1a6b074684e91d94d41c7aba06131a5fd



More information about the pld-cvs-commit mailing list