You need to sign in or sign up before continuing.
Commit d9ec9047 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmcs: small update

parent 29196232
......@@ -133,6 +133,10 @@ do
subst "s|^Prefix:.*$||" $i
subst "s|^BuildRoot:.*$||i" $i
subst "s|%mkrel||g" $i
# Unused on ALT
subst "s|^Suggests:|#Suggests:|" $i
# use in cases
# subst "s|%mdkversion||g" $i
......@@ -166,6 +170,8 @@ do
echog "cleanup_spec for $i..."
cleanup_spec $i
subst "s|^%configure2_5x|%configure|g" $i
# convert from PLD's cases
subst "s|%if %{with \(.*\)}|%if_with \1|g" $i
subst "s|%if %{without \(.*\)}|%if_without \1|g" $i
......@@ -198,6 +204,7 @@ do
subst "s|\(%post.*-p *\)/sbin/ldconfig|\1%post_ldconfig|g" $i
subst "s|\(%postun.*-p *\)/sbin/ldconfig|\1%postun_ldconfig|g" $i
subst "s|^%_post_service.*||g" $i
subst "s|^%_preun_service.*||g" $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