Re-add Python 2 support
This commit is contained in:
parent
fcf9584ca4
commit
4dfb57602c
@ -6,8 +6,14 @@
|
||||
# https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
|
||||
%global _python_bytecompile_extra 0
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%global python_prefix python3
|
||||
%global python_interpreter %{?__python3}%{!?__python3:dummy}
|
||||
%else
|
||||
%global python_prefix python
|
||||
%global python_interpreter %{?__python2}%{!?__python2:dummy}
|
||||
%global rpmmacrodir /etc/rpm
|
||||
%endif
|
||||
|
||||
%global default_jdk %{?_root_prefix}%{!?_root_prefix:%{_prefix}}/lib/jvm/java-1.8.0-openjdk
|
||||
%global default_jre %{?_root_prefix}%{!?_root_prefix:%{_prefix}}/lib/jvm/jre-1.8.0-openjdk
|
||||
|
Loading…
Reference in New Issue
Block a user