Try another way of disabling python-bytecompile scripts
This commit is contained in:
parent
4a9670935f
commit
6d7978ec64
@ -16,7 +16,7 @@
|
||||
%global python_sitelib %{_prefix}/lib/python2.7/site-packages
|
||||
%global rpmmacrodir /etc/rpm
|
||||
# Turn off the brp-python-bytecompile script
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-\\(\\scl-\\|\\)python-bytecompile[[:space:]].*$!!g')
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e /python-bytecompile/d)
|
||||
%endif
|
||||
|
||||
%global default_jdk %{?_root_prefix}%{!?_root_prefix:%{_prefix}}/lib/jvm/java-1.8.0-openjdk
|
||||
|
Loading…
Reference in New Issue
Block a user