commit 88eed6eb7dd0fbdb570636bc461a762b4f4063e5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 17 16:47:43 2020 +0100
Improve compatibility with new CMake macro
kodi-pvr-mythtv.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/kodi-pvr-mythtv.spec b/kodi-pvr-mythtv.spec
index f3b8705..5dc0ebd 100644
--- a/kodi-pvr-mythtv.spec
+++ b/kodi-pvr-mythtv.spec
@@ -2,6 +2,8 @@
%global kodi_version 18.0
%global kodi_codename Leia
+%undefine __cmake_in_source_build
+
Name: kodi-%(tr "." "-" <<<%{kodi_addon})
# Use Epoch to manage upgrades from older upstream
# (
https://github.com/opdenkamp/xbmc-pvr-addons/)
@@ -39,12 +41,12 @@ find lib/cppmyth/ -type f -not -path
"lib/cppmyth/src/private/*" -delete
%build
-%cmake3 .
-%make_build
+%cmake3
+%cmake3_build
%install
-%make_install
+%cmake3_install
%files