diff --git a/SOURCES/dist.sh b/SOURCES/dist.sh index db6c053..f91be40 100755 --- a/SOURCES/dist.sh +++ b/SOURCES/dist.sh @@ -25,7 +25,7 @@ function check_rhl { } function check_rhel { - egrep -q "(Enterprise|Advanced)" $RELEASEFILE && echo $DISTNUM + egrep -q "(Enterprise|Advanced|AlmaLinux)" $RELEASEFILE && echo $DISTNUM } function check_fedora { diff --git a/SPECS/redhat-rpm-config.spec b/SPECS/redhat-rpm-config.spec index 458fc6e..bab5c39 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: 125 -Release: 1%{?dist} +Release: 1%{?dist}.alma # No version specified. License: GPL+ Group: Development/System @@ -205,6 +205,9 @@ install -p -m 755 %{SOURCE21} %{buildroot}%{_rpmconfigdir}/kabi.sh %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Sun Apr 11 2021 Andrew Lukoshko - 125-1.alma +- Fix AlmaLinux detection + * Fri Nov 27 2020 Florian Festi - 125-1 - Add missing macros.fedora-misc file (#1874576)