From e2fbaecfacc1b5a643568b8b07b9c01d0246dd97 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 19 Jan 2022 12:50:25 +0300 Subject: [PATCH] AlmaLinux changes --- SOURCES/dist.sh | 2 +- SPECS/redhat-rpm-config.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 3921bca..70c815a 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: 190 -Release: 1%{?dist} +Release: 1%{?dist}.alma # No version specified. License: GPL+ URL: https://src.fedoraproject.org/rpms/redhat-rpm-config @@ -189,6 +189,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Wed Jan 19 2022 Eduard Abdullin - 190-1.alma +- Fix AlmaLinux detection + * Thu Dec 02 2021 Neal Gompa - 190-1 - Make vpath builddir not include arch-specific info Resolves: rhbz#1984679