From 5e7bd5650086b83112329a7e728aee9092853c8d Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 10 Dec 2007 17:38:04 +0000 Subject: [PATCH] Revert RPM version to old scheme -- Take 2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7889 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- tools/build/buildshorewall | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/tools/build/buildshorewall b/tools/build/buildshorewall index 706bac7a0..4952e2674 100755 --- a/tools/build/buildshorewall +++ b/tools/build/buildshorewall @@ -368,7 +368,24 @@ case $VERSION in SHELLTARBALL=shorewall-shell-${BASEVERSION}.tgz SHELLDIR=shorewall-shell-${BASEVERSION} ;; - *) + *.*.*.*) + # + # Patch Release + # + [ -n "$BUILDCOMMON" ] && SHOREWALLDIR=shorewall-common-${BASEVERSION} || SHOREWALLDIR=shorewall-common + SHOREWALLLITEDIR=shorewall-lite-${BASEVERSION} + TARBALL=shorewall-common-${BASEVERSION}.tgz + LITETARBALL=shorewall-lite-${BASEVERSION}.tgz + RPMNAME=shorewall-common-${BASEVERSION}-${PATCHNUM}.noarch.rpm + LITERPMNAME=shorewall-lite-${BASEVERSION}-${PATCHNUM}.noarch.rpm + PERLRPMNAME=shorewall-perl-${BASEVERSION}-${PATCHNUM}.noarch.rpm + PERLTARBALL=shorewall-perl-${BASEVERSION}.tgz + PERLDIR=shorewall-perl-${BASEVERSION} + SHELLRPMNAME=shorewall-shell-${BASEVERSION}-${PATCHNUM}.noarch.rpm + SHELLTARBALL=shorewall-shell-${BASEVERSION}.tgz + SHELLDIR=shorewall-shell-${BASEVERSION} + ;; + *) # # Normal Release #