Commit 67e28703 authored by Andrea Bolognani's avatar Andrea Bolognani

spec: Drop %{extra_release}

It was mainly meant to be used for automatic builds through
Test::AutoBuild, so it can be removed now.
Signed-off-by: 's avatarAndrea Bolognani <abologna@redhat.com>
Reviewed-by: 's avatarErik Skultety <eskultet@redhat.com>
parent 913edba3
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
Name: @PACKAGE@ Name: @PACKAGE@
Version: @VERSION@ Version: @VERSION@
Release: 1%{?dist}%{?extra_release} Release: 1%{?dist}
Summary: libvirt application sandbox framework Summary: libvirt application sandbox framework
Group: Development/Tools Group: Development/Tools
License: LGPLv2+ License: LGPLv2+
......
...@@ -30,12 +30,8 @@ test "$st" = 0 ...@@ -30,12 +30,8 @@ test "$st" = 0
rm -f *.tar.gz rm -f *.tar.gz
make dist make dist
NOW=`date +"%s"`
EXTRA_RELEASE=".$USER$NOW"
if [ -f /usr/bin/rpmbuild ]; then if [ -f /usr/bin/rpmbuild ]; then
rpmbuild --nodeps \ rpmbuild --nodeps \
--define "extra_release $EXTRA_RELEASE" \
--define "_sourcedir `pwd`" \ --define "_sourcedir `pwd`" \
-ba --clean libvirt-sandbox.spec -ba --clean libvirt-sandbox.spec
fi 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