From nobody Wed May 14 12:59:57 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1525443290805588.4381474559669; Fri, 4 May 2018 07:14:50 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 710DB30023A2; Fri, 4 May 2018 14:14:49 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AF42330012B6; Fri, 4 May 2018 14:14:48 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 69F041808852; Fri, 4 May 2018 14:14:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w44EEkWa019905 for ; Fri, 4 May 2018 10:14:46 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4A3142023274; Fri, 4 May 2018 14:14:46 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.44]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E2AD32023272 for ; Fri, 4 May 2018 14:14:45 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Fri, 4 May 2018 16:14:40 +0200 Message-Id: <20180504141440.16168-4-abologna@redhat.com> In-Reply-To: <20180504141440.16168-1-abologna@redhat.com> References: <20180504141440.16168-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [tck PATCH v2 3/3] spec: Drop %{extra_release} X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Fri, 04 May 2018 14:14:50 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" It was mainly meant to be used for automatic builds through Test::AutoBuild, so it can be removed now. Signed-off-by: Andrea Bolognani --- perl-Sys-Virt-TCK.spec.PL | 3 +-- prepare-release.sh | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/perl-Sys-Virt-TCK.spec.PL b/perl-Sys-Virt-TCK.spec.PL index 9694227..aac6cf6 100644 --- a/perl-Sys-Virt-TCK.spec.PL +++ b/perl-Sys-Virt-TCK.spec.PL @@ -32,12 +32,11 @@ __DATA__ %define perlversion %(perl -e 'use Config; print $Config{version}') =20 %define appname Sys-Virt-TCK -%define _extra_release %{?extra_release:%{extra_release}} =20 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 diff --git a/prepare-release.sh b/prepare-release.sh index 7282123..75777a8 100755 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -42,9 +42,7 @@ rm -f $NAME-*.tar.gz ./Build dist =20 if [ -f /usr/bin/rpmbuild ]; then - NOW=3D`date +"%s"` - EXTRA_RELEASE=3D".$USER$NOW" - rpmbuild -ta --define "extra_release $EXTRA_RELEASE" --clean $NAME-*.tar= .gz + rpmbuild -ta --clean $NAME-*.tar.gz fi =20 exit 0 --=20 2.17.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list