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

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


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

    - updated to 5.109.0; cmake -B build

 kf5-syntax-highlighting.spec | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/kf5-syntax-highlighting.spec b/kf5-syntax-highlighting.spec
index d928b87..a1eb307 100644
--- a/kf5-syntax-highlighting.spec
+++ b/kf5-syntax-highlighting.spec
@@ -1,19 +1,20 @@
 #
 # Conditional build:
 %bcond_with	tests		# build with tests
-%define		kdeframever	5.108
+%define		kdeframever	5.109
 %define		qtver		5.15.2
 %define		kfname		syntax-highlighting
 
 Summary:	Syntax highlighting
 Name:		kf5-%{kfname}
-Version:	5.108.0
+Version:	5.109.0
 Release:	1
 License:	LGPL v2.1+
 Group:		X11/Libraries
 Source0:	https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5:	0c8f02aa721eae14108e508956fd50ba
+# Source0-md5:	e970abb368b963a075f10f2ef26a95c0
 URL:		http://www.kde.org/
+BuildRequires:	cmake >= 3.16
 BuildRequires:	ninja
 BuildRequires:	rpmbuild(macros) >= 1.164
 BuildRequires:	tar >= 1:1.22
@@ -42,16 +43,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-syntax-highlighting.git/commitdiff/2e43a5fd4beaf990943427c71fe0958dc48ecd6d



More information about the pld-cvs-commit mailing list