From 5ba23cb655e402cc8ca838bb7f4368ef4ddefd12291702cf4a17330e9f26eeea Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Thu, 29 Feb 2024 15:08:06 +0000 Subject: [PATCH] Accepting request 1153338 from home:dimstar:rpm4.20:p Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1153338 OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pam_pkcs11?expand=0&rev=35 --- pam_pkcs11.changes | 6 ++++++ pam_pkcs11.spec | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pam_pkcs11.changes b/pam_pkcs11.changes index 9908ba0..8620171 100644 --- a/pam_pkcs11.changes +++ b/pam_pkcs11.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 14:54:54 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Mon Jan 16 09:31:59 UTC 2023 - Stefan Schubert diff --git a/pam_pkcs11.spec b/pam_pkcs11.spec index af5a253..fd92ec6 100644 --- a/pam_pkcs11.spec +++ b/pam_pkcs11.spec @@ -84,10 +84,8 @@ This Linux PAM module allows X.509 a certificate-based user authentication. %prep -%setup -q -n %{_name}-%{version} -%patch0 -p1 -%patch1 -p1 -%patch3 -p1 +%autosetup -p1 -n %{_name}-%{version} + cp -a %{SOURCE1} common-auth-smartcard sed -i s:/lib/:/%{_lib}/:g etc/pam_pkcs11.conf.example.in etc/pkcs11_eventmgr.conf.example # make dist was not called and cannot be called on a non git snapshot.