[virt-tools-list] [PATCH 1/3] delete autobuild.sh
Gene Czarcinski
gene at czarc.net
Wed Apr 3 18:12:32 UTC 2013
There may still be an autobuild server and it may be
necessary for vir--manager rpms to be built by it, but
this script depends on autotools and will not work
with the current distutils approach.
Signed-off-by: Gene Czarcinski <gene at czarc.net>
---
autobuild.sh | 35 -----------------------------------
1 file changed, 35 deletions(-)
delete mode 100755 autobuild.sh
diff --git a/autobuild.sh b/autobuild.sh
deleted file mode 100755
index 70408d6..0000000
--- a/autobuild.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ -z "$AUTOBUILD_INSTALL_ROOT" ] ; then
- echo "This script is only meant to be used with an autobuild server."
- echo "Please see INSTALL for build instructions."
- exit 1
-fi
-
-# Make things clean.
-
-make -k distclean ||:
-rm -rf MANIFEST blib
-
-# Make makefiles.
-
-./autogen.sh --prefix=$AUTOBUILD_INSTALL_ROOT
-cd build
-make
-make install
-
-rm -f *.tar.gz
-make dist
-
-if [ -f /usr/bin/rpmbuild ]; then
- if [ -n "$AUTOBUILD_COUNTER" ]; then
- EXTRA_RELEASE=".auto$AUTOBUILD_COUNTER"
- else
- NOW=`date +"%s"`
- EXTRA_RELEASE=".$USER$NOW"
- fi
- rpmbuild --nodeps --define "extra_release $EXTRA_RELEASE" -ta --clean *.tar.gz
-fi
-
--
1.8.1.4
More information about the virt-tools-list
mailing list