commit 3e6b7666dec31a2150117154ce2c4398b9f6f57e
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 17 16:40:40 2020 +0100
Improve compatibility with new CMake macro
kodi-pvr-filmon.spec | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/kodi-pvr-filmon.spec b/kodi-pvr-filmon.spec
index 6c9975b..f748007 100644
--- a/kodi-pvr-filmon.spec
+++ b/kodi-pvr-filmon.spec
@@ -1,10 +1,9 @@
-# Use old cmake macro
-%global __cmake_in_source_build 1
-
%global kodi_addon pvr.filmon
%global kodi_version 18.0
%global kodi_codename Matrix
+%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/)
@@ -37,12 +36,12 @@ ExcludeArch: %{power64} ppc64le
%build
#
https://gitlab.kitware.com/cmake/cmake/issues/17555#note_355574
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
-%cmake3 .
-%make_build
+%cmake3
+%cmake3_build
%install
-%make_install
+%cmake3_install
%files