commit a1772e3bd1e485211b0e3e2dc56a113b3eae47f3
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sun Mar 11 15:44:24 2018 +0000
add patch conditional for < f28
guvcview.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/guvcview.spec b/guvcview.spec
index 29727ea..5fb024b 100644
--- a/guvcview.spec
+++ b/guvcview.spec
@@ -61,8 +61,10 @@ This package contains development files for %{name}.
%prep
%setup -q -n %{name}-src-%{version}
-#%patch0 -p1
-#%patch1 -p1
+%if ! %{with compat_ffmpeg}
+%patch0 -p1
+%patch1 -p1
+%endif
find . \( -name '*.h' -o -name '*.c' \) -exec chmod -x {} \;