[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:
Michal Schorm 2023-11-29 14:00:27 +01:00
parent 4bcc53237f
commit 81a127d488

View File

@ -121,12 +121,7 @@
%global pcre_bundled_version 10.42
%endif
# Use main python interpretter version
%if 0%{?fedora} || 0%{?rhel} > 7
%global python_path /usr/bin/python3
%else
%global python_path /usr/bin/python2
%endif
# Include systemd files
%global daemon_name %{pkg_name}