[packages/swaylock] use new meson macros

atler atler at pld-linux.org
Thu Mar 20 23:18:12 CET 2025


commit 086eaf6c6e6b484ccf71802440d2f898eee92a53
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 20 23:16:41 2025 +0100

    use new meson macros

 swaylock.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/swaylock.spec b/swaylock.spec
index 9964706..3473bfc 100644
--- a/swaylock.spec
+++ b/swaylock.spec
@@ -17,7 +17,7 @@ BuildRequires:	ninja
 BuildRequires:	pam-devel
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	scdoc
 BuildRequires:	wayland-devel >= 1.20.0
 BuildRequires:	wayland-protocols >= 1.25
@@ -69,12 +69,12 @@ ZSH completion for swaylock.
 %setup -q
 
 %build
-%meson build
-%ninja_build -C build
+%meson
+%meson_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%ninja_install -C build
+%meson_install
 
 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/%{name}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/swaylock.git/commitdiff/0ab1944f70e4431ad80126a0fa47e4fee24bb3e6



More information about the pld-cvs-commit mailing list