diff options
Diffstat (limited to 'redhat/main/tdeedu/tdeedu-14.0.0.spec')
-rw-r--r-- | redhat/main/tdeedu/tdeedu-14.0.0.spec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/redhat/main/tdeedu/tdeedu-14.0.0.spec b/redhat/main/tdeedu/tdeedu-14.0.0.spec index ca5d13cd8..af7343097 100644 --- a/redhat/main/tdeedu/tdeedu-14.0.0.spec +++ b/redhat/main/tdeedu/tdeedu-14.0.0.spec @@ -1062,6 +1062,12 @@ This package contains the development files for tdeedu. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%if 0%{?fedora} >= 30 +# Fix shebangs +sed -i "kig/pykig/pykig.py" \ + -e "s|env python|env python3|" +%endif + # RHEL5 strange FTBFS on V4L stuff %if 0%{?rhel} == 5 %__sed -i "admin/acinclude.m4.in" -e "s|-ansi||" |