[packages/libinput] use new meson macros

atler atler at pld-linux.org
Tue Mar 25 16:42:21 CET 2025


commit 25ac62f5ae9f34b08ee681a8c8c0e12f8e7fe6c3
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Mar 25 16:06:37 2025 +0100

    use new meson macros

 libinput.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libinput.spec b/libinput.spec
index 19e0ad8..d441cc9 100644
--- a/libinput.spec
+++ b/libinput.spec
@@ -30,7 +30,7 @@ BuildRequires:	mtdev-devel >= 1.1.0
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.752
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	sed >= 4.0
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	udev-devel
@@ -151,21 +151,21 @@ Dopełnianie parametrów w zsh dla polecenia libinput.
 %endif
 
 %build
-%meson build \
+%meson \
 	-Ddebug-gui=%{__true_false gui} \
 	-Ddocumentation=%{__true_false doc} \
 	-Dtests=%{__true_false tests} \
 	-Dudev-dir=/lib/udev \
 	-Dzshcompletiondir=%{zsh_compdir}
 
-%ninja_build -C build
+%meson_build
 
-%{?with_tests:%ninja_test -C build}
+%{?with_tests:%meson_test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%ninja_install -C build
+%meson_install
 
 %{?with_tests:%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/libinput-test-suite.1}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libinput.git/commitdiff/e67a77f42feae2c94a96f8f4419e8ab03fc117d5



More information about the pld-cvs-commit mailing list