From 8437debf2ac2950d88b46bccb1790aaee1d51c7b Mon Sep 17 00:00:00 2001 From: Martin Gansser Date: Aug 03 2019 17:12:51 +0000 Subject: Add --embed flag for python 3.8 Support in Makefile --- diff --git a/vdr-epg-daemon.spec b/vdr-epg-daemon.spec index 4df8dd1..3a05131 100644 --- a/vdr-epg-daemon.spec +++ b/vdr-epg-daemon.spec @@ -29,7 +29,8 @@ BuildRequires: openssl-devel %if 0%{?fedora} <= 30 BuildRequires: python2-devel %else -BuildRequires: python3-devel +#BuildRequires: python3-devel +BuildRequires: python38 %endif BuildRequires: mariadb-devel BuildRequires: libarchive-devel @@ -74,7 +75,8 @@ sed -i \ ## Add --embed flag for python 3.8 Support in 'Makefile' %if 0%{?fedora} >= 31 -sed -i 's|python-config --libs|python-config --libs --embed|' Makefile +sed -i -e 's|python-config --libs|python3.8-config --libs --embed|' Makefile +sed -i -e 's|python-config|python3.8-config|' Make.config %endif %if 0%{?without_debug}