commit 3b9bc819eaaae2c0ef3ff2ae8fa94174c8d3e0a8
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 17 16:54:34 2020 +0100
Improve compatibility with new CMake macro
kodi-pvr-stalker.spec | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/kodi-pvr-stalker.spec b/kodi-pvr-stalker.spec
index ab3eaff..1716cc9 100644
--- a/kodi-pvr-stalker.spec
+++ b/kodi-pvr-stalker.spec
@@ -1,10 +1,9 @@
-# Use old cmake macro
-%global __cmake_in_source_build 1
-
%global kodi_addon pvr.stalker
%global kodi_version 18.0
%global kodi_codename Matrix
+%undefine __cmake_in_source_build
+
Name: kodi-%(tr "." "-" <<<%{kodi_addon})
Version: 6.0.0
Release: 1%{?dist}
@@ -41,12 +40,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