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.