commit c1b5ac3907092984ef70554025d59d1bc5269bd2
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 17 19:29:48 2020 +0100
Improve compatibility with new CMake macro
ffmpegthumbs.spec | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/ffmpegthumbs.spec b/ffmpegthumbs.spec
index cf1b389..d63d13e 100644
--- a/ffmpegthumbs.spec
+++ b/ffmpegthumbs.spec
@@ -1,3 +1,5 @@
+%undefine __cmake_in_source_build
+
Name: ffmpegthumbs
Version: 19.12.1
Release: 4%{?dist}
@@ -35,16 +37,13 @@ KDE ffmpegthumbnailer service
%build
-mkdir %{_target_platform}
-pushd %{_target_platform}
-%{cmake_kf5} ..
-popd
+%{cmake_kf5}
-%make_build -C %{_target_platform}
+%cmake3_build
%install
-make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
+%cmake3_install
%find_lang ffmpegthumbs