mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 21:18:04 +03:00
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:
parent
0befc54abe
commit
9a5da6972a
32
autobuild.sh
32
autobuild.sh
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user