commit 97b68a7eeb72973cecd2f096e13af6815acfea77
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 17 17:02:31 2020 +0100
Improve compatibility with new CMake macro
kodi-visualization-spectrum.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/kodi-visualization-spectrum.spec b/kodi-visualization-spectrum.spec
index f1ba26b..24dd693 100644
--- a/kodi-visualization-spectrum.spec
+++ b/kodi-visualization-spectrum.spec
@@ -1,6 +1,8 @@
%global aname visualization.spectrum
%global kodi_version 18.0
+%undefine __cmake_in_source_build
+
Name: kodi-visualization-spectrum
Version: 2.0.3
Release: 3%{?dist}
@@ -31,11 +33,12 @@ find . -name '*.h' -or -name '*.cpp' | xargs chmod
a-x
%build
-%cmake3 .
-%make_build
+%cmake3
+%cmake3_build
+
%install
-%make_install
+%cmake3_install
# Fix permissions at installation
find $RPM_BUILD_ROOT%{_datadir}/kodi/addons/ -type f -exec chmod 0644 {} \;
Show replies by date