Commit 70596631 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmlog: add check for package version/release

parent 5b01ec85
...@@ -65,6 +65,8 @@ fi ...@@ -65,6 +65,8 @@ fi
if [ -z "$FROMTAG" ] ; then if [ -z "$FROMTAG" ] ; then
build_rpms_name $SPECNAME build_rpms_name $SPECNAME
[ -n "$VERSION" ] || fatal "Can't get package version"
[ -n "$RELEASE" ] || fatal "Can't get package releasr"
FROMTAG="$VERSION-$RELEASE" FROMTAG="$VERSION-$RELEASE"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment