diff --git a/pam_krb5.changes b/pam_krb5.changes index 83b81d5..ac3d87f 100644 --- a/pam_krb5.changes +++ b/pam_krb5.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 29 14:31:23 UTC 2024 - Dominique Leuenberger + +- Use %autopatch macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Wed Jan 12 10:29:54 UTC 2022 - Josef Möllers diff --git a/pam_krb5.spec b/pam_krb5.spec index f03e830..2db0998 100644 --- a/pam_krb5.spec +++ b/pam_krb5.spec @@ -52,10 +52,7 @@ supports updating your Kerberos password. %prep %setup -q -n pam_krb5-%{version} %setup -a 2 -T -D -n pam_krb5-%{version} -%patch1 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 +%autopatch -p1 %build CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE " \