[packages/libslirp] use new meson macros
atler
atler at pld-linux.org
Mon Feb 10 18:25:12 CET 2025
commit f518116be2bc94096570c5a7c86f63b029f40472
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Feb 10 17:59:21 2025 +0100
use new meson macros
libslirp.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libslirp.spec b/libslirp.spec
index 4badd1b..9cf7ac9 100644
--- a/libslirp.spec
+++ b/libslirp.spec
@@ -17,7 +17,7 @@ BuildRequires: glib2-devel >= 2.0
BuildRequires: meson >= 0.50
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.042
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Conflicts: spice-slirp
@@ -62,15 +62,15 @@ Statyczna biblioteka SLIRP.
%setup -q
%build
-%meson build \
+%meson \
%{!?with_static_libs:--default-library=shared}
-%ninja_build -C build
+%meson_build
%install
rm -rf $RPM_BUILD_ROOT
-%ninja_install -C build
+%meson_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libslirp.git/commitdiff/7136c7dac1083dcc492beb0db54146d6955a8b3b
More information about the pld-cvs-commit
mailing list