diff options
author | François Andriot <albator78@libertysurf.fr> | 2019-07-30 19:54:39 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2019-07-30 19:54:39 +0200 |
commit | f6042194a160d58772626035fa59604da08e06e0 (patch) | |
tree | 598895a543568639cb582d0013891519357cdf11 /redhat/main/tdeedu | |
parent | 87f8fcd5f192267ad890dd4e923be245bb834658 (diff) | |
download | tde-packaging-f6042194a160d58772626035fa59604da08e06e0.tar.gz tde-packaging-f6042194a160d58772626035fa59604da08e06e0.zip |
RPM: update packages to build on Fedora 30, Mageia 7
Diffstat (limited to 'redhat/main/tdeedu')
-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||" |