[packages/sway] use new meson macros

atler atler at pld-linux.org
Thu Feb 20 14:30:16 CET 2025


commit 1da6c220b347d9485f6f2bb95891908e71ed4366
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 20 13:30:34 2025 +0100

    use new meson macros

 sway.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/sway.spec b/sway.spec
index 6e21a43..5898a9f 100644
--- a/sway.spec
+++ b/sway.spec
@@ -23,7 +23,7 @@ BuildRequires:	pcre2-8-devel
 BuildRequires:	pixman-devel
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.752
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	scdoc >= 1.9.2
 BuildRequires:	systemd-devel >= 1:239
 BuildRequires:	udev-devel
@@ -96,13 +96,13 @@ ZSH completion for sway.
 %patch -P0 -p1
 
 %build
-%meson build \
+%meson \
 	-Dxwayland=enabled
-%ninja_build -C build
+%meson_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%ninja_install -C build
+%meson_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sway.git/commitdiff/ae2d5c1a19da52df62913dbcc17be6b6d582b0fe



More information about the pld-cvs-commit mailing list