projects
/
packages
/
ka5-korganizer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82cd4d
)
- bcond_with tests
author
Witold Filipczyk
<witekfl@poczta.onet.pl>
Tue, 5 Apr 2022 15:33:11 +0000
(17:33 +0200)
committer
Witold Filipczyk
<witekfl@poczta.onet.pl>
Tue, 5 Apr 2022 15:33:11 +0000
(17:33 +0200)
ka5-korganizer.spec
patch
|
blob
|
blame
|
history
diff --git
a/ka5-korganizer.spec
b/ka5-korganizer.spec
index 1c41895fa0ed887e2e3eb2bc718571d9a3bcb2df..4fbea50474ddb7125eafce38621041fb5d1aec59 100644
(file)
--- a/
ka5-korganizer.spec
+++ b/
ka5-korganizer.spec
@@
-1,3
+1,6
@@
+#
+# Conditional build:
+%bcond_with tests # build with tests
%define kdeappsver 21.12.3
%define kframever 5.56.0
%define qtver 5.9.0
@@
-87,11
+90,17
@@
install -d build
cd build
%cmake \
-G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
-DHTML_INSTALL_DIR=%{_kdedocdir} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
..
%ninja_build
+%if %{with tests}
+ctest
+%endif
+
+
%install
rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
This page took
0.092398 seconds
and
4
git commands to generate.