Explicitly state package dependencies and reorganize them
This will help find out dependencies with packages like `rpm`. Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
parent
557fe26951
commit
34870a4110
18
pam.spec
18
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.3
|
Version: 1.5.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?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+.
|
||||||
@ -31,12 +31,17 @@ Patch5: pam-1.5.3-userdb-gdbm.patch
|
|||||||
%{load:%{SOURCE3}}
|
%{load:%{SOURCE3}}
|
||||||
|
|
||||||
### Dependencies ###
|
### Dependencies ###
|
||||||
Requires: libpwquality%{?_isa}
|
Requires: audit-libs
|
||||||
Requires: setup
|
|
||||||
Requires: authselect >= 1.3
|
Requires: authselect >= 1.3
|
||||||
Requires: gdbm
|
Requires: gdbm
|
||||||
Requires: libdb-convert-util
|
Requires: libdb-convert-util
|
||||||
|
Requires: libeconf
|
||||||
|
Requires: libpwquality%{?_isa}
|
||||||
|
Requires: libselinux
|
||||||
|
Requires: libxcrypt
|
||||||
|
Requires: openssl
|
||||||
Requires: pam-libs%{?_isa} = %{version}-%{release}
|
Requires: pam-libs%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: setup
|
||||||
|
|
||||||
### Build Dependencies ###
|
### Build Dependencies ###
|
||||||
BuildRequires: audit-libs-devel
|
BuildRequires: audit-libs-devel
|
||||||
@ -54,9 +59,7 @@ BuildRequires: libtirpc-devel
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libxcrypt-devel
|
BuildRequires: libxcrypt-devel
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: openssl-devel >= 3.0.0
|
|
||||||
%endif
|
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
@ -360,6 +363,9 @@ done
|
|||||||
%{_pam_libdir}/libpam_misc.so.%{so_ver}*
|
%{_pam_libdir}/libpam_misc.so.%{so_ver}*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 30 2023 Iker Pedrosa <ipedrosa@redhat.com> - 1.5.3-5
|
||||||
|
- Explicitly state package dependencies and reorganize them
|
||||||
|
|
||||||
* Mon Oct 23 2023 Iker Pedrosa <ipedrosa@redhat.com> - 1.5.2-4
|
* Mon Oct 23 2023 Iker Pedrosa <ipedrosa@redhat.com> - 1.5.2-4
|
||||||
- Switch pam_userdb from BerkeleyDB to GDBM (#2245149 and #1788543)
|
- Switch pam_userdb from BerkeleyDB to GDBM (#2245149 and #1788543)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user