From 81a5484b229f0023943ac520266b26935754a1df Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 21 Dec 2023 15:31:25 +0300 Subject: [PATCH] Added MSVSphere detection support to dist.sh --- 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 db6c053..29899aa 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|MSVSphere)" $RELEASEFILE && echo $DISTNUM } function check_fedora { diff --git a/SPECS/redhat-rpm-config.spec b/SPECS/redhat-rpm-config.spec index a64b82c..d9d18c9 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: 131 -Release: 1%{?dist} +Release: 1%{?dist}.inferit # No version specified. License: GPL+ Group: Development/System @@ -268,6 +268,9 @@ install -p -m 755 %{SOURCE21} %{buildroot}%{_rpmconfigdir}/kabi.sh %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Thu Dec 21 2023 Arkady L. Shane - 131-1.inferit +- Added MSVSphere detection support to dist.sh + * Wed Jul 26 2023 MSVSphere Packaging Team - 131-1 - Rebuilt for MSVSphere 8.8