commit 61aa36968c60fb5900624cf912c517d2d54213c5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jul 24 11:22:57 2020 +0100
Use old cmake macro
kodi-pvr-pctv.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/kodi-pvr-pctv.spec b/kodi-pvr-pctv.spec
index 0993940..04451b5 100644
--- a/kodi-pvr-pctv.spec
+++ b/kodi-pvr-pctv.spec
@@ -1,3 +1,6 @@
+# Use old cmake macro
+%global __cmake_in_source_build 1
+
%global kodi_addon pvr.pctv
%global kodi_version 18.0
%global kodi_codename Matrix
@@ -31,7 +34,7 @@ ExcludeArch: %{power64} ppc64le
%build
#
https://gitlab.kitware.com/cmake/cmake/issues/17555#note_355574
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
-%cmake3
+%cmake3 .
%make_build