[packages/foot] use new meson macros

atler atler at pld-linux.org
Mon Mar 17 21:04:15 CET 2025


commit d4706f105063a4f60b4f7a0347d7c68e5c3e59ad
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Mar 17 20:48:02 2025 +0100

    use new meson macros

 foot.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/foot.spec b/foot.spec
index 7ca963c..0d94cfb 100644
--- a/foot.spec
+++ b/foot.spec
@@ -22,7 +22,7 @@ BuildRequires:	pixman-devel
 BuildRequires:	pkgconfig
 BuildRequires:	python3
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 2.011
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	scdoc
 BuildRequires:	systemd-devel
 BuildRequires:	tllist-devel >= 1.1.0
@@ -85,29 +85,29 @@ ZSH completion for foot command line.
 %patch -P0 -p1
 
 %build
-%meson build \
+%meson \
 	%{?with_pgo:-Db_pgo=generate} \
 	-Dutmp-backend=libutempter \
 	-Dutmp-default-helper-path=/usr/sbin/utempter \
 	-Dterminfo=disabled
 
-%ninja_build -C build
+%meson_build
 
 %if %{with pgo}
-%ninja_test -C build
+%meson_test
 
 ./pgo/full-headless-cage.sh . build
 
 %__meson configure build \
 	-Db_pgo=use
 
-%ninja_build -C build
+%meson_build
 %endif
 
 %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/foot.git/commitdiff/3f43b214f45cdc176dbbfb5d7a093615ce723704



More information about the pld-cvs-commit mailing list