summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-10-18 19:42:26 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-10-18 19:42:26 +0200
commit8bf409ac6ae6f087dd72fd3ca18d86826935039e (patch)
tree3862563423e9b23b5b3dee5a0508d9292502a3b0
parentf026379233f07b82eec19d89178729709e6f1b32 (diff)
downloadtde-packaging-8bf409ac6ae6f087dd72fd3ca18d86826935039e.tar.gz
tde-packaging-8bf409ac6ae6f087dd72fd3ca18d86826935039e.zip
RPM packaging: fix libtdeldap dependency on RHEL 5
-rw-r--r--redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
index 9228eee9a..458cf9646 100644
--- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
+++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
@@ -94,7 +94,7 @@ BuildRequires: openldap24-libs-devel
%endif
# HEIMDAL support
-%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: heimdal-devel
%endif
%if 0%{?suse_version}
@@ -108,7 +108,7 @@ BuildRequires: libudev-devel
%endif
# LIBCOM_ERR support
-%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6
BuildRequires: libcom_err-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}