[packages/pcsc-driver-ccid] use new meson macros

atler atler at pld-linux.org
Fri Mar 21 20:16:45 CET 2025


commit 43ed5b6770ce456dd24c5de860f9f46954481caa
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 21 20:01:08 2025 +0100

    use new meson macros

 pcsc-driver-ccid.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pcsc-driver-ccid.spec b/pcsc-driver-ccid.spec
index 0ec16a7..c7f291e 100644
--- a/pcsc-driver-ccid.spec
+++ b/pcsc-driver-ccid.spec
@@ -15,7 +15,7 @@ BuildRequires:	ninja
 BuildRequires:	pcsc-lite-devel >= 1.8.3
 BuildRequires:	perl-base
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	rpmbuild(macros) >= 2.042
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildRequires:	zlib-devel >= 1.2.3.1
@@ -74,17 +74,17 @@ szeregowy. Obsługiwane urządzenia CCID:
 %setup -q -n ccid-%{version}
 
 %build
-%meson build \
+%meson \
 	--default-library=shared \
 	-Dserial=true
 
-%ninja_build -C build
+%meson_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/lib/udev/rules.d
 
-%ninja_install -C build
+%meson_install
 
 cp -p src/92_pcscd_ccid.rules $RPM_BUILD_ROOT/lib/udev/rules.d/70-pcscd_ccid.rules
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pcsc-driver-ccid.git/commitdiff/18a7dea733cad3b8118688e85a91a3db65a242b6



More information about the pld-cvs-commit mailing list