From e5b8ca720365997d2afc3c755b171257214ceb49 Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Jan 04 2021 16:18:06 +0000 Subject: Add support for future versions of Python(3.10+) --- diff --git a/domoticz.spec b/domoticz.spec index 6c3f905..f3a6d3f 100644 --- a/domoticz.spec +++ b/domoticz.spec @@ -106,6 +106,8 @@ any mobile device %endif %if 0%{?fedora} >= 33 %patch5 -p1 -b.python39 +# Add support for future versions of Python by replacing hardcoded version with macro +sed -i 's/-lpython3.9/-lpython%{python3_version}/' CMakeLists.txt %patch6 -p1 -b.boost173 %endif rm -f hardware/openzwave/*.h