commit 27a949c662518b6055430568dcb92a1fee1cbfa0
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Feb 9 23:12:18 2022 +0000
Fix build
svt-hevc.spec | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/svt-hevc.spec b/svt-hevc.spec
index d57cb68..d124255 100644
--- a/svt-hevc.spec
+++ b/svt-hevc.spec
@@ -1,5 +1,3 @@
-%undefine __cmake_in_source_build
-
Name: svt-hevc
Version: 1.5.1
Release: 3%{?dist}
@@ -44,16 +42,13 @@ Include files and mandatory libraries for development svt-hevc.
%build
-%cmake -G Ninja \
-%if 0%{?rhel} && 0%{?rhel} > 7
- -B %{_target_platform} -S .
-%endif
+%cmake -G Ninja
-%ninja_build -C %{_target_platform}
+%cmake_build
%install
-%ninja_install -C %{_target_platform}
+%cmake_install
%files
%{_bindir}/SvtHevcEncApp
Show replies by date