diff options
author | Graham Leggett <minfrin@apache.org> | 2009-09-25 23:02:33 +0200 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2009-09-25 23:02:33 +0200 |
commit | a8c86736ef7538f71a29c139e02e2cefa855457e (patch) | |
tree | b3c4e534584655fa083c46abc978a7ca9e145bd0 /buildconf | |
parent | Hmmm... forgot git commit/dcommit. (diff) | |
download | apache2-a8c86736ef7538f71a29c139e02e2cefa855457e.tar.xz apache2-a8c86736ef7538f71a29c139e02e2cefa855457e.zip |
Add support for an "epoch" in the RPM spec file. This epoch is a discrete
number used to determine if one RPM is newer than another, which in turn
ensures that v1.2.10 is always interpreted as newer than v1.2.9.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@819008 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -198,6 +198,7 @@ rm -rf autom4te*.cache if [ -f `which cut` ]; then echo rebuilding rpm spec file ( VMMN=`build/get-version.sh mmn include/ap_mmn.h MODULE_MAGIC_NUMBER` + EPOCH=`build/get-version.sh epoch include/ap_release.h AP_SERVER` REVISION=`build/get-version.sh all include/ap_release.h AP_SERVER` VERSION=`echo $REVISION | cut -d- -s -f1` RELEASE=`echo $REVISION | cut -d- -s -f2` @@ -209,6 +210,7 @@ if [ -f `which cut` ]; then sed -e "s/APACHE_VERSION/$VERSION/" \ -e "s/APACHE_RELEASE/$RELEASE/" \ -e "s/APACHE_MMN/$VMMN/" \ + -e "s/APACHE_EPOCH/$EPOCH/" \ > httpd.spec ) fi |