Try to disable brp-scl-python-bytecompile too

This commit is contained in:
Mikolaj Izdebski 2019-08-20 15:24:31 +02:00
parent 0e4675d636
commit 7e2754eaa2

View File

@ -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-python-bytecompile[[:space:]].*$!!g')
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-\\(\\scl-|\\)python-bytecompile[[:space:]].*$!!g')
%endif
%global default_jdk %{?_root_prefix}%{!?_root_prefix:%{_prefix}}/lib/jvm/java-1.8.0-openjdk