summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2003-03-30 21:29:54 +0000
committerGraham Leggett <minfrin@apache.org>2003-03-30 21:29:54 +0000
commitfa53f5965ba9277f273098cc3f7522162b27f83b (patch)
tree202bfe95d448699fa3da42eb4d1857700038c676 /buildconf
parent3976199aadcaa8c4a7e0496f63e0dcf7e02a4dab (diff)
downloadhttpd-fa53f5965ba9277f273098cc3f7522162b27f83b.tar.gz
Removing rpm stuff from buildconf until it becomes portable
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99128 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf15
1 files changed, 0 insertions, 15 deletions
diff --git a/buildconf b/buildconf
index 8854a7679e..71808600d0 100755
--- a/buildconf
+++ b/buildconf
@@ -181,19 +181,4 @@ echo rebuilding configure
rm -f config.cache
${AUTOCONF:-autoconf} 2>&1 | grep -v "$cross_compile_warning"
-echo rebuilding rpm spec file
-( VMMN=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include \`pwd\`/include/ap_mmn.h | grep -e '^[0-9]'`
- REVISION=`echo AP_SERVER_MAJORVERSION.AP_SERVER_MINORVERSION.AP_SERVER_PATCHLEVEL | cpp -include \`pwd\`/include/ap_release.h | tr -d "\" " | grep -e '^[0-9.\-]'`
- VERSION=`echo $REVISION | cut -d- -s -f1`
- RELEASE=`echo $REVISION | cut -d- -s -f2`
- if [ "x$VERSION" = "x" ]; then
- VERSION=$REVISION
- RELEASE=1
- fi
- cat ./build/rpm/httpd.spec.in | \
- sed -e "s/APACHE_VERSION/$VERSION/" \
- -e "s/APACHE_RELEASE/$RELEASE/" \
- -e "s/APACHE_MMN/$VMMN/" \
- > httpd.spec )
-
exit 0