From ca6bbdcf85658a61f8c0a6a8132310bb53809c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 18 Jun 2014 19:33:34 +0200 Subject: RPM Packaging: update 3.5.13.2 for RHEL7 --- redhat/build/rpmdist.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'redhat/build') diff --git a/redhat/build/rpmdist.sh b/redhat/build/rpmdist.sh index 047fbfaa6..72ccbf453 100755 --- a/redhat/build/rpmdist.sh +++ b/redhat/build/rpmdist.sh @@ -6,7 +6,7 @@ MGA=0 DIST="" if [ -r /etc/redhat-release ]; then - read a b c d e < /etc/redhat-release + read a b c d e f g < /etc/redhat-release elif [ -r /etc/SuSE-release ]; then a="opensuse" fi @@ -31,6 +31,10 @@ case $a in RHEL="${c%%.*}"; DIST=".el${RHEL}" fi ;; + + "Red") + RHEL="${g%%.*}"; DIST=".el${RHEL}" + ;; # Fedora release 15 (Lovelock) Fedora*) FEDORA="${c}"; DIST=".fc${FEDORA}";; # Opensuse -- cgit v1.2.1