Replace deprecated '%%patchN' with '%%patch -P N'
This commit is contained in:
parent
bfff0f23a8
commit
0dbd0156df
15
pam.spec
15
pam.spec
@ -4,7 +4,7 @@
|
|||||||
Summary: An extensible library which provides authentication for applications
|
Summary: An extensible library which provides authentication for applications
|
||||||
Name: pam
|
Name: pam
|
||||||
Version: 1.5.2
|
Version: 1.5.2
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
# The library is BSD licensed with option to relicense as GPLv2+
|
# The library is BSD licensed with option to relicense as GPLv2+
|
||||||
# - this option is redundant as the BSD license allows that anyway.
|
# - this option is redundant as the BSD license allows that anyway.
|
||||||
# pam_timestamp and pam_loginuid modules are GPLv2+.
|
# pam_timestamp and pam_loginuid modules are GPLv2+.
|
||||||
@ -117,11 +117,11 @@ mv pam-redhat-%{pam_redhat_version}/* modules
|
|||||||
|
|
||||||
cp %{SOURCE18} .
|
cp %{SOURCE18} .
|
||||||
|
|
||||||
%patch1 -p1 -b .redhat-modules
|
%patch -P 1 -p1 -b .redhat-modules
|
||||||
%patch2 -p1 -b .noflex
|
%patch -P 2 -p1 -b .noflex
|
||||||
%patch3 -p1 -b .nomsg
|
%patch -P 3 -p1 -b .nomsg
|
||||||
%patch4 -p1 -b .pwhistory-config
|
%patch -P 4 -p1 -b .pwhistory-config
|
||||||
%patch5 -p1 -b .configure-c99
|
%patch -P 5 -p1 -b .configure-c99
|
||||||
|
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
|
||||||
@ -357,6 +357,9 @@ done
|
|||||||
%{_pam_libdir}/libpam_misc.so.%{so_ver}*
|
%{_pam_libdir}/libpam_misc.so.%{so_ver}*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 25 2023 Björn Esser <besser82@fedoraproject.org> - 1.5.2-19
|
||||||
|
- Replace deprecated '%%patchN' with '%%patch -P N'
|
||||||
|
|
||||||
* Tue Apr 25 2023 Arjun Shankar <arjun@redhat.com> - 1.5.2-18
|
* Tue Apr 25 2023 Arjun Shankar <arjun@redhat.com> - 1.5.2-18
|
||||||
- Port configure script to C99
|
- Port configure script to C99
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user