[packages/libfuse3] use new meson macros

atler atler at pld-linux.org
Tue Mar 25 19:53:41 CET 2025


commit 6092d7b63add3f0e45c4a3723ac01b5376840c15
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Mar 25 19:31:26 2025 +0100

    use new meson macros

 libfuse3.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libfuse3.spec b/libfuse3.spec
index 3462541..ad6de85 100644
--- a/libfuse3.spec
+++ b/libfuse3.spec
@@ -13,7 +13,7 @@ BuildRequires:	meson >= 0.51
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	sed >= 4.0
 BuildRequires:	udev-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -110,19 +110,19 @@ Narzędzia do montowania systemów plików opartych na FUSE 3.
 %{__sed} -i '/FUSERMOUNT_PROG/s,fusermount3,%{_bindir}/fusermount3,' lib/mount.c
 
 %build
-%meson build \
+%meson \
 	-Dinitscriptdir= \
 	-Duseroot=false
 
-%ninja_build -C build
+%meson_build
 
-%{?with_tests:%ninja_test -C build}
+%{?with_tests:%meson_test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/%{_lib},%{_sysconfdir},/sbin}
 
-%ninja_install -C build
+%meson_install
 
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/libfuse3.so.* $RPM_BUILD_ROOT/%{_lib}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libfuse3.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfuse3.git/commitdiff/f2746185549cee9baa4955c93975a969daef9765



More information about the pld-cvs-commit mailing list