diff options
Diffstat (limited to 'redhat/main/tdeaddons')
-rw-r--r-- | redhat/main/tdeaddons/tdeaddons-14.0.0.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec index 5d546fb8e..90ddfe3e6 100644 --- a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec +++ b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec @@ -664,6 +664,14 @@ of user interfaces, playlists and visualisation plugins. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%if 0%{?fedora} >= 30 +# Fix shebangs +sed -i "knewsticker-scripts/sportscores.py" \ + "konq-plugins/imagerotation/orient.py" \ + "konq-plugins/imagerotation/exif.py" \ + -e "s|env python|env python3|" +%endif + %build unset QTDIR QTINC QTLIB |