[packages/xdg-desktop-portal-gtk] use new meson macros

atler atler at pld-linux.org
Fri Mar 21 20:13:22 CET 2025


commit f403d1c104f28c6c0c42217fec678e198ed50a1f
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 21 19:57:28 2025 +0100

    use new meson macros

 xdg-desktop-portal-gtk.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec
index 4dc33e4..c7aedb0 100644
--- a/xdg-desktop-portal-gtk.spec
+++ b/xdg-desktop-portal-gtk.spec
@@ -16,7 +16,7 @@ BuildRequires:	gtk+3-devel >= 3.21.5
 BuildRequires:	meson >= 0.61.2
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xdg-desktop-portal-devel >= 1.14.0
 BuildRequires:	xz
@@ -35,15 +35,15 @@ org.gnome.Screensaver D-Bus interfaces.
 %setup -q
 
 %build
-%meson build \
+%meson \
 	-Dsystemd-user-unit-dir=%{systemduserunitdir}
 
-%ninja_build -C build
+%meson_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%ninja_install -C build
+%meson_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xdg-desktop-portal-gtk.git/commitdiff/b5992e076d4cf3396395059207658aa2dcb6b81d



More information about the pld-cvs-commit mailing list