Fix the baserelease sanity check
We need to explicitly check for 0, so that we can do things like setting baserelease to 1.1 for scratch builds, etc.
This commit is contained in:
parent
c877f36df2
commit
c78a082959
@ -994,7 +994,7 @@ exit 1
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{baserelease}
|
%if "%{baserelease}" == "0"
|
||||||
echo "baserelease must be greater than zero"
|
echo "baserelease must be greater than zero"
|
||||||
exit 1
|
exit 1
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user