Commit 0b4105c6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmcs: improve after use Fedora Rawhide packages

parent cba4a78b
...@@ -190,6 +190,8 @@ do ...@@ -190,6 +190,8 @@ do
# Unused on ALT # Unused on ALT
subst "s|^Suggests:|#Suggests:|" $i subst "s|^Suggests:|#Suggests:|" $i
subst "s|^Recommends:|#Recommends:|g" $i
# use in cases # use in cases
...@@ -395,6 +397,14 @@ do ...@@ -395,6 +397,14 @@ do
subst "s|^%__python setup.py build|%python_build|g" $i subst "s|^%__python setup.py build|%python_build|g" $i
subst 's|^CFLAGS="$RPM_OPT_FLAGS" python setup.py build|%python_build|g' $i subst 's|^CFLAGS="$RPM_OPT_FLAGS" python setup.py build|%python_build|g' $i
subst 's|^CFLAGS="%optflags" python setup.py build|%python_build|g' $i subst 's|^CFLAGS="%optflags" python setup.py build|%python_build|g' $i
subst "s|^%py2_build |%python_build |g" $i
subst "s|^%py2_install |%python_install |g" $i
subst "s|^%py3_build |%python3_build |g" $i
subst "s|^%py3_install |%python3_install |g" $i
subst "s|^%py2_build$|%python_build|g" $i
subst "s|^%py2_install$|%python_install|g" $i
subst "s|^%py3_build$|%python3_build|g" $i
subst "s|^%py3_install$|%python3_install|g" $i
subst "s|^%__python setup.py install --root.%buildroot|%python_install|g" $i subst "s|^%__python setup.py install --root.%buildroot|%python_install|g" $i
subst "s|^%__python setup.py install --skip-build --root[ =]%buildroot|%python_install|g" $i subst "s|^%__python setup.py install --skip-build --root[ =]%buildroot|%python_install|g" $i
subst "s|^%__python3 setup.py install --skip-build --root[ =]%buildroot|%python3_install|g" $i subst "s|^%__python3 setup.py install --skip-build --root[ =]%buildroot|%python3_install|g" $i
...@@ -450,6 +460,8 @@ do ...@@ -450,6 +460,8 @@ do
# %license means License field in ALT rpm # %license means License field in ALT rpm
subst "s|^%license |%doc |g" $i subst "s|^%license |%doc |g" $i
subst "s|^%autosetup|%setup|g" $i
# drop useless construction # drop useless construction
subst "s|%setup -q|%setup|g" $i subst "s|%setup -q|%setup|g" $i
subst "s|^%clean$||g" $i subst "s|^%clean$||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