[packages/kf5-kholidays] - updated to 5.109.0; cmake -B build

witekfl witekfl at pld-linux.org
Fri Aug 18 12:13:14 CEST 2023


commit 69003c286c3e9ba0965ce118b74a2665b7a6d722
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Fri Aug 18 11:10:15 2023 +0200

    - updated to 5.109.0; cmake -B build

 kf5-kholidays.spec | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/kf5-kholidays.spec b/kf5-kholidays.spec
index 18cd55d..0be212e 100644
--- a/kf5-kholidays.spec
+++ b/kf5-kholidays.spec
@@ -3,23 +3,23 @@
 %bcond_with	tests		# build with tests
 # TODO:
 # - runtime Requires if any
-%define		kdeframever	5.108
+%define		kdeframever	5.109
 %define		qtver		5.15.2
 %define		kfname		kholidays
 
 Summary:	kholidays
 Name:		kf5-%{kfname}
-Version:	5.108.0
+Version:	5.109.0
 Release:	1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Libraries
 Source0:	https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5:	42307a9da3cd2188d779e48fe6dc4b7b
+# Source0-md5:	0fc9e9fda1d3a55fd61f655a1dec0b39
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
 BuildRequires:	Qt5Test-devel >= %{qtver}
 BuildRequires:	bzip2-devel
-BuildRequires:	cmake >= 2.8.12
+BuildRequires:	cmake >= 3.16
 BuildRequires:	kf5-extra-cmake-modules >= %{version}
 BuildRequires:	ninja
 BuildRequires:	rpmbuild(macros) >= 1.164
@@ -51,16 +51,15 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 %setup -q -n %{kfname}-%{version}
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
+%cmake -B build \
+	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
-	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-	..
-%ninja_build
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
 
 %if %{with tests}
-ctest
+%ninja_build -C build test
 %endif
 
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-kholidays.git/commitdiff/69003c286c3e9ba0965ce118b74a2665b7a6d722



More information about the pld-cvs-commit mailing list