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:
Josh Boyer 2011-11-22 10:36:27 -05:00
parent 3b1a645f8a
commit fd1443c8c7
1 changed files with 1 additions and 1 deletions

View File

@ -1035,7 +1035,7 @@ exit 1
%endif
%endif
%if !%{baserelease}
%if "%{baserelease}" == "0"
echo "baserelease must be greater than zero"
exit 1
%endif