From f6042194a160d58772626035fa59604da08e06e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 30 Jul 2019 19:54:39 +0200 Subject: RPM: update packages to build on Fedora 30, Mageia 7 --- redhat/applications/tellico/tellico-14.0.0.spec | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'redhat/applications/tellico') diff --git a/redhat/applications/tellico/tellico-14.0.0.spec b/redhat/applications/tellico/tellico-14.0.0.spec index 8cb0aae90..fa1d1495f 100644 --- a/redhat/applications/tellico/tellico-14.0.0.spec +++ b/redhat/applications/tellico/tellico-14.0.0.spec @@ -272,6 +272,14 @@ if [ -r /usr/include/libv4l1-videodev.h ]; then %__sed -i "src/barcode/barcode_v4l.h" -e "s|linux/videodev.h|libv4l1.h|" fi +%if 0%{?fedora} >= 30 +%__sed -i "src/fetch/scripts/dark_horse_comics.py" \ + "src/fetch/scripts/ministerio_de_cultura.py" \ + "src/fetch/scripts/fr.allocine.py" \ + "src/translators/griffith2tellico.py" \ + -e "s|/usr/bin/env python|/usr/bin/env python2|" +%endif + %build unset QTDIR QTINC QTLIB -- cgit v1.2.1