summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-11-06 22:43:22 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2017-11-06 22:43:22 +0100
commit6750b594657a1f38b2739c4a5414aa9130878a4d (patch)
tree0c66a9e615b8a85d6e215a0b33b71f7f7a20c850
parent507433d7f4cd9134827333c62620f4dcf24f1d53 (diff)
downloadtde-packaging-6750b594657a1f38b2739c4a5414aa9130878a4d.tar.gz
tde-packaging-6750b594657a1f38b2739c4a5414aa9130878a4d.zip
RPM: fix kcmldap and koffice build on RHEL5
-rw-r--r--redhat/applications/kcmldap/kcmldap-14.0.0.spec2
-rw-r--r--redhat/applications/koffice/koffice-14.0.0.spec1
2 files changed, 1 insertions, 2 deletions
diff --git a/redhat/applications/kcmldap/kcmldap-14.0.0.spec b/redhat/applications/kcmldap/kcmldap-14.0.0.spec
index 24ccd2b46..b8fd4cc4b 100644
--- a/redhat/applications/kcmldap/kcmldap-14.0.0.spec
+++ b/redhat/applications/kcmldap/kcmldap-14.0.0.spec
@@ -107,7 +107,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}
diff --git a/redhat/applications/koffice/koffice-14.0.0.spec b/redhat/applications/koffice/koffice-14.0.0.spec
index 98e85ecbf..503c00aa6 100644
--- a/redhat/applications/koffice/koffice-14.0.0.spec
+++ b/redhat/applications/koffice/koffice-14.0.0.spec
@@ -691,7 +691,6 @@ Requires: lyx-cmex10-fonts
%endif
%if 0%{?rhel} == 5
Requires: dejavu-lgc-fonts
-Requires: lyx-cmex10-fonts
%endif
%if 0%{?suse_version} >= 1220
Requires: dejavu-fonts