diff options
Diffstat (limited to 'redhat/main/tdesdk/tdesdk-14.0.0.spec')
-rw-r--r-- | redhat/main/tdesdk/tdesdk-14.0.0.spec | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/redhat/main/tdesdk/tdesdk-14.0.0.spec b/redhat/main/tdesdk/tdesdk-14.0.0.spec index 788bd6107..dac97e526 100644 --- a/redhat/main/tdesdk/tdesdk-14.0.0.spec +++ b/redhat/main/tdesdk/tdesdk-14.0.0.spec @@ -1007,6 +1007,15 @@ This package contains the development files for tdesdk. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%if 0%{?fedora} >= 30 +# Fix shebangs +sed -i "scripts/kdelnk2desktop.py" \ + "scripts/zonetab2pot.py" \ + "tdecachegrind/converters/hotshot2calltree" \ + "umbrello/umbrello/headings/heading.py" \ + -e "s|env python|env python3|" +%endif + %build unset QTDIR QTINC QTLIB |