[sandbox PATCH v2 4/4] spec: Drop %{extra_release}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux