Commit d8c1a693 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbph: normalize Patch0 name

parent 158f7aee
......@@ -208,8 +208,9 @@ mv $SPECNAME $SPECNAME.old &&
sed -e "s|^Obsoletes: *\$||g" | \
cat > $SPECNAME
# Fedora 10 does mismatch for Patch: and %patch0
#subst "s|Patch:|Patch0:|g" $SPECNAME
# Some system does mismatch for Patch: and %patch0, Patch0: and %patch
subst "s|^Patch0:|Patch:|g" $SPECNAME
subst "s|^%patch0 |%patch |g" $SPECNAME
if [ "$VENDOR" != "alt" ] ; then
# Due possible using %release in Source: and Patch: names
......
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