OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=69
This commit is contained in:
parent
c386a48124
commit
2f4e7357e7
@ -91,11 +91,9 @@ cp -a %{_libdir}/libpython%{py3_ver}m.so.* %{buildroot}/opt/testing/%{_lib}
|
||||
cp -a %{_bindir}/rpmlint %{buildroot}/opt/testing/share/rpmlint/rpmlint.py
|
||||
pushd %{buildroot}/opt/testing/share/rpmlint
|
||||
PYTHONOPTIMIZE=1 python3 -m py_compile *.py
|
||||
rm -v *.py
|
||||
popd
|
||||
pushd %{buildroot}/opt/testing/%{_lib}/python%{py3_ver}/site-packages/
|
||||
PYTHONOPTIMIZE=1 find -name \*.py -exec python3 -m py_compile {} \;
|
||||
# find -name \*.py -delete
|
||||
popd
|
||||
rm -rf %{buildroot}/{usr,etc}
|
||||
rm -f %{buildroot}/opt/testing/bin/rpmlint
|
||||
|
Loading…
Reference in New Issue
Block a user