From 10049966c77910f3b2c2510278ac9c92173bc927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Wed, 12 Jan 2022 13:46:09 +0100 Subject: [PATCH] authselect-1.3.0-7: remove unnecessary dependencies - gawk, findutils and grep are no longer needed in scriptlets - systemd does not have to be required PAM and nsswitch.conf from shipped profiles references several systemd modules. However if those modules are not installed, they are simply ignored, therefore this dependency can be omitted. systemd is usually installed anyway, but it is not necessary to pull it in on cases when it is not desired, such as in containers. Resolves: rhbz#2039869 --- authselect.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/authselect.spec b/authselect.spec index 9fde6ba..538ef4a 100644 --- a/authselect.spec +++ b/authselect.spec @@ -3,7 +3,7 @@ Name: authselect Version: 1.3.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Configures authentication and identity sources from supported profiles URL: https://github.com/authselect/authselect @@ -72,11 +72,8 @@ supported by authselect. Summary: Utility library used by the authselect tool # Required by scriptlets Requires: coreutils -Requires: findutils -Requires: gawk -Requires: grep Requires: sed -Requires: systemd +Suggests: systemd %if %{enforce_authselect} # authselect now owns nsswitch.conf (glibc) and pam files Conflicts: pam < 1.5.2-8 @@ -347,6 +344,9 @@ fi exit 0 %changelog +* Thu Jan 13 2022 Pavel Březina - 1.3.0-7 +- Remove unnecessary dependencies (#2039869) + * Thu Jan 13 2022 Pavel Březina - 1.3.0-6 - Fix detection of ostree system (#2034360)