spec: set the default release to 1

The release number in the RPMland canonically starts at 1, not at 0. I think
it technically doesn't cause any harm but let's stick to what all other packages
do.
This commit is contained in:
Ondřej Budai 2022-05-03 16:58:46 +02:00 committed by Ondřej Budai
parent 7e27934532
commit e2010fed21
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
Name: koji-osbuild
Version: 7
Release: 0%{?dist}
Release: 1%{?dist}
Summary: Koji integration for osbuild composer
%forgemeta

View file

@ -3,7 +3,7 @@ set -ux
if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
echo "Using RPMs"
rpm -i /share/rpms/koji-osbuild-?-0.*.rpm \
rpm -i /share/rpms/koji-osbuild-?-1.*.rpm \
/share/rpms/koji-osbuild-builder-*.rpm
else
echo "Using local plugin"

View file

@ -3,7 +3,7 @@ set -eux
if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
echo "Using RPMs"
rpm -i /share/rpms/koji-osbuild-?-0.*.rpm \
rpm -i /share/rpms/koji-osbuild-?-1.*.rpm \
/share/rpms/koji-osbuild-hub-*.rpm
else
echo "Using local plugin"