From 6750b594657a1f38b2739c4a5414aa9130878a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 6 Nov 2017 22:43:22 +0100 Subject: [PATCH] RPM: fix kcmldap and koffice build on RHEL5 --- redhat/applications/kcmldap/kcmldap-14.0.0.spec | 2 +- redhat/applications/koffice/koffice-14.0.0.spec | 1 - 2 files changed, 1 insertion(+), 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