From f7506fa01499f22d420b99edd11cd4d4733a91ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 12 Dec 2012 10:11:19 +0000 Subject: [PATCH] a tweak for RHEL-6 --- libreoffice.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libreoffice.spec b/libreoffice.spec index 6ba0bec..be9b3e4 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -260,7 +260,12 @@ Requires: %{name}-%{fontname}-fonts = %{epoch}:%{version}-%{release} Requires: %{name}-ure = %{epoch}:%{version}-%{release} Requires: liberation-sans-fonts >= 1.0, liberation-serif-fonts >= 1.0, liberation-mono-fonts >= 1.0 Requires: dejavu-sans-fonts, dejavu-serif-fonts, dejavu-sans-mono-fonts -Requires: hunspell-en-US, hyphen-en, hyphen >= 2.4, autocorr-en +Requires: hyphen-en, hyphen >= 2.4, autocorr-en +%if 0%{?rhel} && 0%{?rhel} < 7 +Requires: hunspell-en +%else +Requires: hunspell-en-US +%endif Requires(pre): gtk2 >= 2.9.4 Requires(post): gtk2 >= 2.9.4 Requires(preun): gtk2 >= 2.9.4