From 00096611852dcb1d73bef4fe0594c0ae6b71dce3 Mon Sep 17 00:00:00 2001 From: Eugene Zamriy Date: Thu, 16 Mar 2023 19:01:39 +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 23bb032..2e9095c 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|MSVSphere)" $RELEASEFILE && echo $DISTNUM } function check_fedora { diff --git a/SPECS/redhat-rpm-config.spec b/SPECS/redhat-rpm-config.spec index 2eba311..430d177 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: 196 -Release: 1%{?dist} +Release: 1%{?dist}.inferit # No version specified. License: GPL+ URL: https://src.fedoraproject.org/rpms/redhat-rpm-config @@ -213,6 +213,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Thu Mar 16 2023 Eugene Zamriy - 196-1.inferit +- Added MSVSphere detection support to dist.sh + * Wed Mar 15 2023 MSVSphere Packaging Team - 196-1 - Rebuilt for MSVSphere 9.1.