Commit 09b82b38 authored by Vitaly Lipatov's avatar Vitaly Lipatov

replace version if needed

parent 908f54a1
......@@ -11,6 +11,7 @@
. `dirname $0`/../share/eterbuild/functions/common
. $ETERBUILDDIR/functions/rpm
. $ETERBUILDDIR/functions/repl
. $ETERBUILDDIR/functions/spec
dummy_spec()
{
......@@ -111,6 +112,10 @@ do
# For case if name was macros
test -n "$BASENAME" && set_var $i Name $BASENAME
# For case if version was macros
# set_version is major define safe
test -n "$VERSION" && set_version $i $VERSION
echog -n "fix obsoleted constructions..."
subst "s|Source0:|Source:|" $i
subst "s|Patch0:|Patch:|" $i
......
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