Commit 5b01ec85 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix comments, remove obsoletes code

parent 54589fd4
......@@ -205,11 +205,6 @@ mv $SPECNAME $SPECNAME.old &&
sed -e "s|^Obsoletes: *\$||g" | \
cat > $SPECNAME
# hack for build old eter packages
if [ -n "$ETERREGNUM" ] ; then
subst "s|@ETERREGNUM@|$ETERREGNUM|g" $SPECNAME
fi
# Fedora 10 does mismatch for Patch: and %patch0
subst "s|Patch:|Patch0:|g" $SPECNAME
......@@ -219,7 +214,7 @@ if [ "$VENDOR" != "alt" ] ; then
subst "s|^\(Patch.*\)%release|\1$RELEASE|g" $SPECNAME
fi
# Auto*=yes,nomingw32 works since ALT 4.1
# Auto*=yes,nomingw32 works only since ALT 4.1
if [ "$VENDOR" = "alt" ] ; then
if echo "$MDISTR" | egrep -q "M24|M30|M40" ; then
subst "s|^\(AutoReq.*\),nomingw32|\1|g" $SPECNAME
......@@ -227,7 +222,7 @@ if [ "$VENDOR" = "alt" ] ; then
fi
fi
# for systems with ash as sh
# for systems with ash as sh (f.i., Ubuntu)
subst "s|^pushd \(.*\)|cd \1 >/dev/null|g" $SPECNAME
subst "s|^popd|cd - >/dev/null|g" $SPECNAME
......
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