[packages/kp5-plasma-vault] - updated to 5.24.4 - added bcond_with tests
witekfl
witekfl at pld-linux.org
Wed Mar 30 15:44:56 CEST 2022
commit 158848648819c5551d9cc4b81f9c3ca194fd54f8
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Wed Mar 30 15:44:52 2022 +0200
- updated to 5.24.4
- added bcond_with tests
kp5-plasma-vault.spec | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/kp5-plasma-vault.spec b/kp5-plasma-vault.spec
index f01883d..608992e 100644
--- a/kp5-plasma-vault.spec
+++ b/kp5-plasma-vault.spec
@@ -1,15 +1,18 @@
-%define kdeplasmaver 5.24.3
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeplasmaver 5.24.4
%define qtver 5.9.0
%define kpname plasma-vault
Summary: KDE Plasma Vault
Name: kp5-%{kpname}
-Version: 5.24.3
+Version: 5.24.4
Release: 1
License: LGPL v2.1+
Group: X11/Libraries
Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: ced51ec3b4e8aff0a5d0077366f74ffe
+# Source0-md5: 2310100cc738220ab6487461f393c4d5
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: cmake >= 2.8.12
@@ -53,11 +56,16 @@ format.
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp5-plasma-vault.git/commitdiff/158848648819c5551d9cc4b81f9c3ca194fd54f8
More information about the pld-cvs-commit
mailing list