commit a5ed25044cfc06294c325393f719dfa89df215d4
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 17 16:32:58 2020 +0100
Improve compatibility with new CMake macro
kodi-pvr-argustv.spec | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/kodi-pvr-argustv.spec b/kodi-pvr-argustv.spec
index 2555414..39cf9ef 100644
--- a/kodi-pvr-argustv.spec
+++ b/kodi-pvr-argustv.spec
@@ -1,10 +1,9 @@
-# Use old cmake macro
-%global __cmake_in_source_build 1
-
%global kodi_addon pvr.argustv
%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