summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-guidance/tde-guidance.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-03-02 19:50:55 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2021-03-02 19:52:11 +0100
commit12dcc700a83c4c76187e9bbcd046a032a202872e (patch)
tree94abe8ac4fa6c5b4f2da6c7177662f0bbe9d4afc /redhat/applications/tde-guidance/tde-guidance.spec
parentc5de148f49058ceede8b98a0fd81262fbe0eb31d (diff)
downloadtde-packaging-12dcc700a83c4c76187e9bbcd046a032a202872e.tar.gz
tde-packaging-12dcc700a83c4c76187e9bbcd046a032a202872e.zip
RPM: add support for Mageia 8
Diffstat (limited to 'redhat/applications/tde-guidance/tde-guidance.spec')
-rw-r--r--redhat/applications/tde-guidance/tde-guidance.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/applications/tde-guidance/tde-guidance.spec b/redhat/applications/tde-guidance/tde-guidance.spec
index e2c865bbd..98c5cbe9d 100644
--- a/redhat/applications/tde-guidance/tde-guidance.spec
+++ b/redhat/applications/tde-guidance/tde-guidance.spec
@@ -140,7 +140,7 @@ BuildRequires: xscreensaver-gl
%endif
# PYTHON support
-%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8
%global python python2
%global __python %__python2
%global python_sitearch %{python2_sitearch}
@@ -431,7 +431,7 @@ chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py
# Replace all '#!' calls to python with /usr/bin/python
# and make them executable
-%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8
%define python /usr/bin/python2
%else
%define python /usr/bin/python