[packages/cage] use new meson macros

atler atler at pld-linux.org
Thu Feb 20 14:39:04 CET 2025


commit 5c08ec745135200eaa651cf7ad237d029e9cca6b
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 20 13:44:31 2025 +0100

    use new meson macros

 cage.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/cage.spec b/cage.spec
index 79d1262..4c975e2 100644
--- a/cage.spec
+++ b/cage.spec
@@ -21,7 +21,7 @@ BuildRequires:	meson >= 0.58.1
 BuildRequires:	ninja
 BuildRequires:	pixman-devel
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	scdoc >= 1.9.2
 BuildRequires:	wayland-devel
 BuildRequires:	wayland-protocols >= 1.14
@@ -81,7 +81,7 @@ prevents the user from interacting with anything but this application.
 %endif
 
 %build
-%meson build \
+%meson \
 	-Dxwayland=true \
 %if %{without system_wlroots}
 	--force-fallback-for=wlroots \
@@ -89,12 +89,12 @@ prevents the user from interacting with anything but this application.
 	-Dwlroots:examples=false
 %endif
 
-%ninja_build -C build
+%meson_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%ninja_install -C build
+%meson_install
 
 %if %{without system_wlroots}
 %{__rm} -r $RPM_BUILD_ROOT{%{_includedir}/wlr,%{_libdir}/libwlroots.a,%{_pkgconfigdir}/wlroots.pc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cage.git/commitdiff/399378da2c5811c40dac3e5c58da55eaa880a134



More information about the pld-cvs-commit mailing list