summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index 97e03e5a0..c04d1b6f8 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -994,7 +994,7 @@ exit 1
%endif
%endif
-%if !%{baserelease}
+%if "%{baserelease}" == "0"
echo "baserelease must be greater than zero"
exit 1
%endif