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> --- mingw-osinfo-db.spec.in | 2 +- osinfo-db.spec.in | 2 +- prepare-release.sh | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/mingw-osinfo-db.spec.in b/mingw-osinfo-db.spec.in index e9c84b4..95b4389 100644 --- a/mingw-osinfo-db.spec.in +++ b/mingw-osinfo-db.spec.in @@ -2,7 +2,7 @@ Name: mingw-osinfo-db Version: @VERSION@ -Release: 1%{?dist}%{?extra_release} +Release: 1%{?dist} Summary: Database for libosinfo API License: GPLv2+ Group: Development/Libraries diff --git a/osinfo-db.spec.in b/osinfo-db.spec.in index 334ee8a..375b2f9 100644 --- a/osinfo-db.spec.in +++ b/osinfo-db.spec.in @@ -3,7 +3,7 @@ Summary: osinfo database files Name: osinfo-db Version: @VERSION@ -Release: 1%{?dist}%{?extra_release} +Release: 1%{?dist} License: GPLv2+ Group: Development/Libraries Source: https://releases.pagure.io/libosinfo/%{name}-%{version}.tar.xz diff --git a/prepare-release.sh b/prepare-release.sh index 1873b7d..39f1ad2 100755 --- a/prepare-release.sh +++ b/prepare-release.sh @@ -24,12 +24,8 @@ esac make make install DESTDIR="$INSTALL_ROOT" OSINFO_DB_TARGET="--system" -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 osinfo-db.spec fi @@ -37,7 +33,6 @@ fi if test -x /usr/bin/i686-w64-mingw32-gcc && test -x /usr/bin/x86_64-w64-mingw32-gcc ; then if test -f /usr/bin/rpmbuild ; then rpmbuild --nodeps \ - --define "extra_release $EXTRA_RELEASE" \ --define "_sourcedir `pwd`" \ -ba --clean mingw-osinfo-db.spec fi -- 2.17.0 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo