diff --git a/SOURCES/dist.sh b/SOURCES/dist.sh index 23bb032..049291a 100755 --- a/SOURCES/dist.sh +++ b/SOURCES/dist.sh @@ -25,7 +25,7 @@ function check_rhl { } function check_rhel { - egrep -q "(Enterprise|Advanced|CentOS)" $RELEASEFILE && echo $DISTNUM + egrep -q "(Enterprise|Advanced|CentOS|AlmaLinux)" $RELEASEFILE && echo $DISTNUM } function check_fedora { diff --git a/SPECS/redhat-rpm-config.spec b/SPECS/redhat-rpm-config.spec index 17b951d..394d720 100644 --- a/SPECS/redhat-rpm-config.spec +++ b/SPECS/redhat-rpm-config.spec @@ -7,7 +7,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config Version: 194 -Release: 1%{?dist} +Release: 1%{?dist}.alma # No version specified. License: GPL+ URL: https://src.fedoraproject.org/rpms/redhat-rpm-config @@ -213,6 +213,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Wed May 18 2022 Eduard Abdullin - 194-1.alma +- Fix AlmaLinux detection + * Thu Feb 17 2022 Nick Clifton - 194-1 - Use the correct package names for the triggers. - Resolves: rhbz#2030671