summaryrefslogtreecommitdiffstats
path: root/redhat/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/libraries')
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec12
-rw-r--r--redhat/libraries/python-trinity/python-trinity-14.0.0.spec4
2 files changed, 16 insertions, 0 deletions
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
index 88888da02..b8835c6d2 100644
--- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
+++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
@@ -185,6 +185,18 @@ fi
%__sed -i "src/pythonize."* -e "s|const char \*object|char \*object|g"
%endif
+%if 0%{?fedora} >= 30
+%__sed -i "app_templates/kcontrol_module/setup.py" \
+ "app_templates/kcontrol_module/src/kcontrol_module.py" \
+ "app_templates/kdeapp/setup.py" \
+ "app_templates/kdeapp/src/kdeapp.py" \
+ "app_templates/kdeutility/setup.py" \
+ "app_templates/kdeutility/src/kdeutility.py" \
+ "app_templates/tdeioslave/setup.py" \
+ "app_templates/tdeioslave/src/tdeioslave.py" \
+ -e "s|/usr/bin/python|/usr/bin/env python2|"
+%endif
+
%build
unset QTDIR QTINC QTLIB
diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
index f969038f9..51edd425b 100644
--- a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
+++ b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
@@ -139,6 +139,10 @@ tips and working code you can use to learn from.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%if 0%{?fedora} >= 30
+%__sed -i "contrib/tdepyuic" -e "s|/usr/bin/env python|/usr/bin/env python2|"
+%endif
+
%build
unset QTDIR QTINC QTLIB