[2/20] SPECfile cleanup - assuming we're on Fedora or RHEL>=8
Python 3 is the default version of Python for quite some time now
This commit is contained in:
parent
4bcc53237f
commit
81a127d488
@ -121,12 +121,7 @@
|
|||||||
%global pcre_bundled_version 10.42
|
%global pcre_bundled_version 10.42
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Use main python interpretter version
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
||||||
%global python_path /usr/bin/python3
|
%global python_path /usr/bin/python3
|
||||||
%else
|
|
||||||
%global python_path /usr/bin/python2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Include systemd files
|
# Include systemd files
|
||||||
%global daemon_name %{pkg_name}
|
%global daemon_name %{pkg_name}
|
||||||
|
Loading…
Reference in New Issue
Block a user