commit 5da8cbf50b80edc1ecf02a34549a6351f8e635b5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Jul 23 16:29:06 2020 +0100
Improve compatibility with new CMake macro
ffmpegthumbnailer.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ffmpegthumbnailer.spec b/ffmpegthumbnailer.spec
index 81eb0d4..d25047b 100644
--- a/ffmpegthumbnailer.spec
+++ b/ffmpegthumbnailer.spec
@@ -1,6 +1,8 @@
+%undefine __cmake_in_source_build
+
Name: ffmpegthumbnailer
Version: 2.2.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Lightweight video thumbnailer that can be used by file managers
License: GPLv2+
@@ -36,11 +38,11 @@ chmod -x README INSTALL COPYING AUTHORS
%build
%cmake3 -DENABLE_GIO=ON -DENABLE_THUMBNAILER=ON .
-%make_build
+%cmake3_build
%install
-%make_install
+%cmake3_install
#chrpath --delete $RPM_BUILD_ROOT%%{_bindir}/ffmpegthumbnailer
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
@@ -63,6 +65,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
+* Thu Jul 23 2020 Leigh Scott <leigh123linux(a)gmail.com> - 2.2.2-5
+- Improve compatibility with new CMake macro
+
* Sat Feb 22 2020 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
2.2.2-4
- Rebuild for ffmpeg-4.3 git