commit 5c95e671976b1fea0cfd57b65d185bb828f5c2d1
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jul 24 11:21:51 2020 +0100
Use old cmake macro
kodi-pvr-filmon.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/kodi-pvr-filmon.spec b/kodi-pvr-filmon.spec
index 34a67dd..6c9975b 100644
--- a/kodi-pvr-filmon.spec
+++ b/kodi-pvr-filmon.spec
@@ -1,3 +1,6 @@
+# Use old cmake macro
+%global __cmake_in_source_build 1
+
%global kodi_addon pvr.filmon
%global kodi_version 18.0
%global kodi_codename Matrix
@@ -34,7 +37,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