diff --git a/authselect.spec b/authselect.spec index 6e74462..9fde6ba 100644 --- a/authselect.spec +++ b/authselect.spec @@ -3,7 +3,7 @@ Name: authselect Version: 1.3.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Configures authentication and identity sources from supported profiles URL: https://github.com/authselect/authselect @@ -323,7 +323,7 @@ fi # Keep nss-altfiles for all rpm-ostree based systems. # See https://github.com/authselect/authselect/issues/48 -if %__grep "OSTREE_VERSION=" /etc/os-release &> /dev/null; then +if test -e /run/ostree-booted; then for PROFILE in `ls %{_datadir}/authselect/default`; do %{_bindir}/authselect create-profile $PROFILE --vendor --base-on $PROFILE --symlink-pam --symlink-dconf --symlink=REQUIREMENTS --symlink=README &> /dev/null %if %{with_user_nsswitch} @@ -347,6 +347,9 @@ fi exit 0 %changelog +* Thu Jan 13 2022 Pavel Březina - 1.3.0-6 +- Fix detection of ostree system (#2034360) + * Tue Dec 28 2021 Frantisek Zatloukal - 1.3.0-5 - Try to use io.open() in pre scriptlet instead of rpm.open() (rpm >= 4.17.0)