It was mainly meant to be used for automatic builds through
Test::AutoBuild, so it can be removed now.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
libvirt-sandbox.spec.in | 2 +-
prepare-release.sh | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/libvirt-sandbox.spec.in b/libvirt-sandbox.spec.in
index 0374d9e..4e020de 100644
--- a/libvirt-sandbox.spec.in
+++ b/libvirt-sandbox.spec.in
@@ -16,7 +16,7 @@
Name: @PACKAGE@
Version: @VERSION@
-Release: 1%{?dist}%{?extra_release}
+Release: 1%{?dist}
Summary: libvirt application sandbox framework
Group: Development/Tools
License: LGPLv2+
diff --git a/prepare-release.sh b/prepare-release.sh
index c8fd2b5..2be25c2 100755
--- a/prepare-release.sh
+++ b/prepare-release.sh
@@ -30,12 +30,8 @@ test "$st" = 0
rm -f *.tar.gz
make dist
-NOW=`date +"%s"`
-EXTRA_RELEASE=".$USER$NOW"
-
if [ -f /usr/bin/rpmbuild ]; then
rpmbuild --nodeps \
- --define "extra_release $EXTRA_RELEASE" \
--define "_sourcedir `pwd`" \
-ba --clean libvirt-sandbox.spec
fi
--
2.17.0