Remove test-autobuild support

I don't think anything is actually using it these days, and upstream
autobuild development seems dead. If someone is still using it, we
can revert this commit.
This commit is contained in:
Cole Robinson 2015-02-22 11:32:02 -05:00
parent 0befc54abe
commit 9a5da6972a
2 changed files with 1 additions and 40 deletions

View File

@ -1,32 +0,0 @@
#!/bin/sh
set -v
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
rm -rf MANIFEST dist/*
# support version-id changes
export AUTOBUILD_OVERRIDE_VERSION=y
python setup.py sdist
python setup.py build
python setup.py test
python setup.py install --root=$AUTOBUILD_INSTALL_ROOT
which /usr/bin/rpmbuild > /dev/null 2>&1 || exit 0
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 dist/*.tar.gz

View File

@ -18,16 +18,9 @@
# End local config
# This macro is used for the continuous automated builds. It just
# allows an extra fragment based on the timestamp to be appended
# to the release. This distinguishes automated builds, from formal
# Fedora RPM builds
%define _extra_release %{?dist:%{dist}}%{?extra_release:%{extra_release}}
Name: virt-manager
Version: @VERSION@
Release: 1%{_extra_release}
Release: 1%{?dist}
%define verrel %{version}-%{release}
Summary: Virtual Machine Manager