From 56bd49a4433813bbe50416c793bd543832a162bb Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Tue, 24 Dec 2024 14:47:31 +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 cc0d3ea..a32b279 100755 --- a/SOURCES/dist.sh +++ b/SOURCES/dist.sh @@ -25,7 +25,7 @@ function check_rhl { } function check_rhel { - grep -Eq "(Enterprise|Advanced|CentOS)" $RELEASEFILE && echo $DISTNUM + grep -Eq "(Enterprise|Advanced|CentOS|MSVSphere)" $RELEASEFILE && echo $DISTNUM } function check_fedora { diff --git a/SPECS/redhat-rpm-config.spec b/SPECS/redhat-rpm-config.spec index d757c6c..1d2eefc 100644 --- a/SPECS/redhat-rpm-config.spec +++ b/SPECS/redhat-rpm-config.spec @@ -9,7 +9,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config Version: %{baserelease} -Release: 1%{?dist} +Release: 1%{?dist}.inferit # config.guess, config.sub are GPL-3.0-or-later WITH Autoconf-exception-generic License: GPL-1.0-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later WITH Autoconf-exception-generic AND Boehm-GC URL: https://src.fedoraproject.org/rpms/redhat-rpm-config @@ -259,6 +259,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua %doc buildflags.md %changelog +* Tue Dec 24 2024 Sergey Cherevko - 285-1.inferit +- Added MSVSphere detection support to dist.sh + * Tue Nov 26 2024 MSVSphere Packaging Team - 285-1 - Rebuilt for MSVSphere 10