commit 2839aa237ff057aaf687d28c240e868291a0211d
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Thu May 3 20:25:45 2018 -0500
Move order of globals so source test on ffmpeg works
kodi.spec | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/kodi.spec b/kodi.spec
index c48e0b5..2572ea1 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -12,6 +12,17 @@
# Default: Do not ship DVD decryption for legal reasons
%bcond_with dvd
+# Optional deps (not in EPEL)
+%if 0%{?fedora}
+# (libbluray in EPEL 6 is too old.)
+%global _with_libbluray 1
+%global _with_cwiid 1
+%global _with_libssh 1
+%global _with_libcec 1
+%global _with_external_ffmpeg 1
+%global _with_wayland 0
+%endif
+
Name: kodi
Version: 17.6
Release: 9%{?dist}
@@ -63,17 +74,6 @@ Patch4: kodi-17.6-array-segfault.patch
#
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881536
Patch5: kodi-17.6-ffmpeg-3.4.patch
-# Optional deps (not in EPEL)
-%if 0%{?fedora}
-# (libbluray in EPEL 6 is too old.)
-%global _with_libbluray 1
-%global _with_cwiid 1
-%global _with_libssh 1
-%global _with_libcec 1
-%global _with_external_ffmpeg 1
-%global _with_wayland 0
-%endif
-
%ifarch x86_64 i686
%global _with_crystalhd 1
%endif