From 97e55d630293256cc9bb58e93be313bffb6d5742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 4 Oct 2016 19:08:29 +0200 Subject: RPM packaging: fix kcmldap, kcmldapcontroller, kcmldapmanager, kerberostray build requires --- .../kcmldapcontroller-14.0.0.spec | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'redhat/applications/kcmldapcontroller') diff --git a/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec b/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec index 1fc7a339c..9191e9b5a 100644 --- a/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec +++ b/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec @@ -88,8 +88,31 @@ BuildRequires: openldap2-devel BuildRequires: openldap24-libs-devel %endif +# HEIMDAL support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: heimdal-devel +%endif +%if 0%{?suse_version} +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 + +# 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 + Requires: trinity-kcontrol-ldap-controller = %{?epoch:%{epoch}:}%{version}-%{release} + %description This is a meta-package that installs all kcmldap related packages. -- cgit v1.2.3