Commit 00f9ef5b authored by Andrea Bolognani's avatar Andrea Bolognani

prepare-release: Drop references to Test::AutoBuild

They are misleading, and no longer relevant anyway.
Signed-off-by: 's avatarAndrea Bolognani <abologna@redhat.com>
Reviewed-by: 's avatarLaine Stump <laine@laine.org>
parent cdf36078
#!/bin/sh
#
# This script is used to Test::AutoBuild (http://www.autobuild.org)
# to perform automated builds of the Sys-Virt module
#
# Copyright (C) 2009 Red Hat, Inc.
# Copyright (C) 2009 Daniel P. Berrange
#
......@@ -21,9 +18,7 @@ set -e
rm -rf MANIFEST blib _build Build
test -z "$AUTOBUILD_INSTALL_ROOT" && AUTOBUILD_INSTALL_ROOT=$HOME/builder
perl Build.PL install_base=$AUTOBUILD_INSTALL_ROOT
perl Build.PL install_base=$HOME/builder
./Build
./Build manifest
......@@ -47,12 +42,8 @@ rm -f $NAME-*.tar.gz
./Build 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
NOW=`date +"%s"`
EXTRA_RELEASE=".$USER$NOW"
rpmbuild -ta --define "extra_release $EXTRA_RELEASE" --clean $NAME-*.tar.gz
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment