From d3d7921aa4e8cbdd22e985dc50f9172d8d93e583 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Tue, 24 Dec 2024 14:35:53 +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..8bdb879 100644 --- a/SPECS/redhat-rpm-config.spec +++ b/SPECS/redhat-rpm-config.spec @@ -4,7 +4,7 @@ # 2) When making changes, increment the version (in baserelease) by 1. # rpmdev-bumpspec and other tools update the macro below, which is used # in Version: to get the desired effect. -%global baserelease 285 +%global baserelease 285.inferit Summary: Red Hat specific rpm configuration files Name: 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.inferit-1 +- Added MSVSphere detection support to dist.sh + * Tue Nov 26 2024 MSVSphere Packaging Team - 285-1 - Rebuilt for MSVSphere 10