From 692cef71c325eadb7cb6562dd86c02ca85b3e865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 3 Oct 2016 21:40:39 +0200 Subject: RPM packaging: fix libtdeldap build dependency to libudev-devel --- redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'redhat') 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. -- cgit v1.2.3