Branch: master

aeb5bcbd 2017-03-18 13:44:37 François Andriot
RPM packaging: fix tdenetwork build dependency to v4l under RHEL5
M redhat/main/tdenetwork/tdenetwork-14.0.0.spec
diff --git a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
index 63cc9a9..79c17d0 100644
--- a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
+++ b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
@@ -198,6 +198,9 @@
 %if 0%{?mgaversion} || 0%{?mdkversion}
 BuildRequires:	%{_lib}v4l-devel
 %endif
+%if 0%{?rhel} == 5
+BuildRequires:	kernel-headers
+%endif
 
 # XML support
 BuildRequires:	libxml2-devel