From 12dcc700a83c4c76187e9bbcd046a032a202872e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 2 Mar 2021 19:50:55 +0100 Subject: RPM: add support for Mageia 8 --- redhat/main/tdeedu/tdeedu.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'redhat/main/tdeedu') diff --git a/redhat/main/tdeedu/tdeedu.spec b/redhat/main/tdeedu/tdeedu.spec index 8600f114f..5bc1dfcc9 100644 --- a/redhat/main/tdeedu/tdeedu.spec +++ b/redhat/main/tdeedu/tdeedu.spec @@ -98,7 +98,7 @@ BuildRequires: libusb-devel %endif # PYTHON3 support -%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100 +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100 || 0%{?mgaversion} >= 8 %global python python3 %global __python %__python3 %global python_sitearch %{python3_sitearch} @@ -1137,7 +1137,7 @@ This package contains the development files for tdeedu. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 # Fix shebangs sed -i "kig/pykig/pykig.py" \ -e "s|env python|env %{python}|" -- cgit v1.2.1