From d01629bfa097cf7e35f87bb00fa549fc3cdce23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 3 Oct 2016 22:28:33 +0200 Subject: [PATCH] RPM packaging: fix libtdeldap build dependency to libcom_err-devel --- redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec index a0506c382..9228eee9a 100644 --- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec +++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec @@ -107,6 +107,14 @@ BuildRequires: libheimdal-devel 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.