Branch: master

d01629bf 2016-10-03 15:28:33 François Andriot
RPM packaging: fix libtdeldap build dependency to libcom_err-devel
M redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
index a0506c3..9228eee 100644
--- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
+++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
@@ -107,6 +107,14 @@
 BuildRequires:	libudev-devel
 %endif
 
+# LIBCOM_ERR support
+%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+BuildRequires:	libcom_err-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires:	%{_lib}ext2fs-devel
+%endif
+
 
 %description
 LDAP interface library for TDE management modules.