From 0dbd0156dfe7d5aa4ded6e6660a42f11084cecc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Tue, 25 Apr 2023 17:38:43 +0200 Subject: [PATCH] Replace deprecated '%%patchN' with '%%patch -P N' --- pam.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pam.spec b/pam.spec index 47c92f0..f19887e 100644 --- a/pam.spec +++ b/pam.spec @@ -4,7 +4,7 @@ Summary: An extensible library which provides authentication for applications Name: pam Version: 1.5.2 -Release: 18%{?dist} +Release: 19%{?dist} # The library is BSD licensed with option to relicense as GPLv2+ # - this option is redundant as the BSD license allows that anyway. # pam_timestamp and pam_loginuid modules are GPLv2+. @@ -117,11 +117,11 @@ mv pam-redhat-%{pam_redhat_version}/* modules cp %{SOURCE18} . -%patch1 -p1 -b .redhat-modules -%patch2 -p1 -b .noflex -%patch3 -p1 -b .nomsg -%patch4 -p1 -b .pwhistory-config -%patch5 -p1 -b .configure-c99 +%patch -P 1 -p1 -b .redhat-modules +%patch -P 2 -p1 -b .noflex +%patch -P 3 -p1 -b .nomsg +%patch -P 4 -p1 -b .pwhistory-config +%patch -P 5 -p1 -b .configure-c99 autoreconf -i @@ -357,6 +357,9 @@ done %{_pam_libdir}/libpam_misc.so.%{so_ver}* %changelog +* Tue Apr 25 2023 Björn Esser - 1.5.2-19 +- Replace deprecated '%%patchN' with '%%patch -P N' + * Tue Apr 25 2023 Arjun Shankar - 1.5.2-18 - Port configure script to C99