commit 1313531123f10b7ba5746e46e59070c7cbd88d3b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 17 17:29:36 2020 +0100
Improve compatibility with new CMake macro
acoustid-fingerprinter.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/acoustid-fingerprinter.spec b/acoustid-fingerprinter.spec
index 9e0bb05..9ccfa25 100644
--- a/acoustid-fingerprinter.spec
+++ b/acoustid-fingerprinter.spec
@@ -1,3 +1,5 @@
+%undefine __cmake_in_source_build
+
Name: acoustid-fingerprinter
Version: 0.6
Release: 24%{?dist}
@@ -38,10 +40,10 @@ track title, artist name, album name, etc.
%cmake3 -DCMAKE_BUILD_TYPE=Debug -GNinja
# removing the -O3 optimization flag for the release building type
sed -i "s/-O3 -DNDEBUG//g" CMakeCache.txt
-%ninja_build
+%cmake3_build
%install
-%ninja_install
+%cmake3_install
install -d -m755 %{buildroot}%{_datadir}/applications
Show replies by date