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:
parent
7e27934532
commit
e2010fed21
3 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
Name: koji-osbuild
|
Name: koji-osbuild
|
||||||
Version: 7
|
Version: 7
|
||||||
Release: 0%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Koji integration for osbuild composer
|
Summary: Koji integration for osbuild composer
|
||||||
|
|
||||||
%forgemeta
|
%forgemeta
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ set -ux
|
||||||
|
|
||||||
if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
|
if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
|
||||||
echo "Using RPMs"
|
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
|
/share/rpms/koji-osbuild-builder-*.rpm
|
||||||
else
|
else
|
||||||
echo "Using local plugin"
|
echo "Using local plugin"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ set -eux
|
||||||
|
|
||||||
if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
|
if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
|
||||||
echo "Using RPMs"
|
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
|
/share/rpms/koji-osbuild-hub-*.rpm
|
||||||
else
|
else
|
||||||
echo "Using local plugin"
|
echo "Using local plugin"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue