[packages/libnvme] use new meson macros; rel 4

atler atler at pld-linux.org
Wed Mar 12 03:14:29 CET 2025


commit 567d6f51698993e1a7f32bb5a66ba0960cb35a88
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Mar 12 01:25:39 2025 +0100

    use new meson macros; rel 4

 libnvme.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libnvme.spec b/libnvme.spec
index c0b236a..3565a41 100644
--- a/libnvme.spec
+++ b/libnvme.spec
@@ -6,7 +6,7 @@ Summary:	C Library for NVM Express on Linux
 Summary(pl.UTF-8):	Biblioteka C do obsługi NVM Express na Linuksie
 Name:		libnvme
 Version:	1.11.1
-Release:	3
+Release:	4
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://github.com/linux-nvme/libnvme/releases
@@ -23,7 +23,7 @@ BuildRequires:	pkgconfig
 BuildRequires:	python3 >= 1:3.6
 BuildRequires:	python3-devel >= 1:3.6
 BuildRequires:	python3-modules >= 1:3.6
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	swig-python >= 2
 Requires:	json-c >= 0.13
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -85,7 +85,7 @@ Wiązania Pythona do libnvme.
 %setup -q
 
 %build
-%meson build \
+%meson \
 	%{!?with_static_libs:--default-library=shared} \
 	-Ddocs=man \
 	-Djson-c=enabled \
@@ -93,12 +93,12 @@ Wiązania Pythona do libnvme.
 	-Dlibdbus=enabled \
 	-Dpython=enabled
 
-%ninja_build -C build
+%meson_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%ninja_install -C build
+%meson_install
 
 %py3_comp $RPM_BUILD_ROOT%{py3_sitedir}
 %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnvme.git/commitdiff/567d6f51698993e1a7f32bb5a66ba0960cb35a88



More information about the pld-cvs-commit mailing list