Commit 76c567e8 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 avatarLaine Stump <laine@laine.org>
parent 00f9ef5b
......@@ -32,12 +32,11 @@ __DATA__
%define perlversion %(perl -e 'use Config; print $Config{version}')
%define appname Sys-Virt-TCK
%define _extra_release %{?extra_release:%{extra_release}}
Summary: Sys::Virt::TCK - libvirt Technology Compatibility Kit
Name: perl-%{appname}
Version: @VERSION@
Release: 1%{_extra_release}
Release: 1
License: GPLv2
Group: Development/Tools
Source: http://libvirt.org/sources/tck/%{appname}-v%{version}.tar.gz
......
......@@ -42,9 +42,7 @@ rm -f $NAME-*.tar.gz
./Build dist
if [ -f /usr/bin/rpmbuild ]; then
NOW=`date +"%s"`
EXTRA_RELEASE=".$USER$NOW"
rpmbuild -ta --define "extra_release $EXTRA_RELEASE" --clean $NAME-*.tar.gz
rpmbuild -ta --clean $NAME-*.tar.gz
fi
exit 0
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