summaryrefslogtreecommitdiffstats
path: root/redhat/libraries
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-10-03 21:40:39 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-10-03 21:40:39 +0200
commit692cef71c325eadb7cb6562dd86c02ca85b3e865 (patch)
tree1a01c46401cf27f1ae9fb43f3ce848eeb7ece97a /redhat/libraries
parent3a3e1e589304439e5daf8c09240190ee6bfa62ec (diff)
downloadtde-packaging-692cef71c325eadb7cb6562dd86c02ca85b3e865.tar.gz
tde-packaging-692cef71c325eadb7cb6562dd86c02ca85b3e865.zip
RPM packaging: fix libtdeldap build dependency to libudev-devel
Diffstat (limited to 'redhat/libraries')
-rw-r--r--redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
index 44fc7abe8..a0506c382 100644
--- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
+++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
@@ -101,6 +101,12 @@ BuildRequires: heimdal-devel
BuildRequires: libheimdal-devel
%endif
+# UDEV support
+%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6
+%define with_tdehwlib 1
+BuildRequires: libudev-devel
+%endif
+
%description
LDAP interface library for TDE management modules.