[packages/libnotify] use new meson macros

atler atler at pld-linux.org
Fri Feb 21 03:01:12 CET 2025


commit 7c33af05f9d0d642d2e2f5a0958c630d042e4999
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Feb 21 01:06:03 2025 +0100

    use new meson macros

 libnotify.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libnotify.spec b/libnotify.spec
index f744573..867708b 100644
--- a/libnotify.spec
+++ b/libnotify.spec
@@ -28,7 +28,7 @@ BuildRequires:	meson >= 0.56.0
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 2.029
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	sed >= 4.0
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xmlto
@@ -114,16 +114,16 @@ Dokumentacja API biblioteki libnotify.
 %endif
 
 %build
-%meson build \
+%meson \
 	%{!?with_apidocs:-Dgtk_doc=false} \
 	%{!?with_tests:-Dtests=false}
 
-%ninja_build -C build
+%meson_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%ninja_install -C build
+%meson_install
 
 # packaged as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libnotify/spec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnotify.git/commitdiff/c71f469edee2786d386f7fbc738186ada3d730aa



More information about the pld-cvs-commit mailing list