[packages/xorg-lib-libxkbcommon] use new meson macros

atler atler at pld-linux.org
Thu Feb 13 15:19:58 CET 2025


commit dd6a6e80ce45d7cd1b5470ae310863c160ae4609
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 13 13:36:46 2025 +0100

    use new meson macros

 xorg-lib-libxkbcommon.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/xorg-lib-libxkbcommon.spec b/xorg-lib-libxkbcommon.spec
index adac9f2..2be3bd5 100644
--- a/xorg-lib-libxkbcommon.spec
+++ b/xorg-lib-libxkbcommon.spec
@@ -23,7 +23,7 @@ BuildRequires:	meson >= 0.52.0
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig >= 1:0.19
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.752
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	tar >= 1:1.22
 # wayland-client, wayland-scanner
 BuildRequires:	wayland-devel >= 1.2.0
@@ -179,21 +179,21 @@ Pakiet zawiera statyczną bibliotekę libxkbregistry.
 %setup -q -n libxkbcommon-%{version}
 
 %build
-%meson build \
+%meson \
 	%{!?with_static_libs:--default-library=shared} \
 	-Dbash-completion-path=%{bash_compdir} \
 	-Denable-docs=true
 
-%ninja_build -C build
+%meson_build
 
 %if %{with tests}
-%ninja_test -C build
+%meson_test
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%ninja_install -C build
+%meson_install
 
 # packaged as %doc in -apidocs
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libxkbcommon
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-lib-libxkbcommon.git/commitdiff/d3a9c100e28104b09a06acc800bc7b7b3fff0dc3



More information about the pld-cvs-commit mailing list