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:
Iker Pedrosa 2023-10-06 10:09:29 +02:00
parent 557fe26951
commit 34870a4110

View File

@ -4,7 +4,7 @@
Summary: An extensible library which provides authentication for applications
Name: pam
Version: 1.5.3
Release: 4%{?dist}
Release: 5%{?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+.
@ -31,12 +31,17 @@ Patch5: pam-1.5.3-userdb-gdbm.patch
%{load:%{SOURCE3}}
### Dependencies ###
Requires: libpwquality%{?_isa}
Requires: setup
Requires: audit-libs
Requires: authselect >= 1.3
Requires: gdbm
Requires: libdb-convert-util
Requires: libeconf
Requires: libpwquality%{?_isa}
Requires: libselinux
Requires: libxcrypt
Requires: openssl
Requires: pam-libs%{?_isa} = %{version}-%{release}
Requires: setup
### Build Dependencies ###
BuildRequires: audit-libs-devel
@ -54,9 +59,7 @@ BuildRequires: libtirpc-devel
BuildRequires: libtool
BuildRequires: libxcrypt-devel
BuildRequires: make
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9
BuildRequires: openssl-devel >= 3.0.0
%endif
BuildRequires: openssl-devel
BuildRequires: perl-interpreter
BuildRequires: pkgconfig
BuildRequires: sed
@ -360,6 +363,9 @@ done
%{_pam_libdir}/libpam_misc.so.%{so_ver}*
%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
- Switch pam_userdb from BerkeleyDB to GDBM (#2245149 and #1788543)