diff --git a/hunspell-en.spec b/hunspell-en.spec index 39380a3..0d3b311 100644 --- a/hunspell-en.spec +++ b/hunspell-en.spec @@ -40,14 +40,23 @@ BuildRequires: aspell, zip, dos2unix, perl-Getopt-Long, gcc-c++ BuildRequires: make Requires: hunspell-en-US = %{version}-%{release} Requires: hunspell-en-GB = %{version}-%{release} -Supplements: ((hunspell or nuspell) and langpacks-en) +%if 0%{?rhel} +Requires: hunspell +%else +Supplements: (hunspell or nuspell) +%endif +Supplements: langpacks-en %description English (US, UK, etc.) hunspell dictionaries %package US Requires: hunspell-filesystem +%if 0%{?rhel} +Requires: hunspell +%else Recommends: (hunspell or nuspell) +%endif Summary: US English hunspell dictionaries %description US @@ -55,8 +64,14 @@ US English hunspell dictionaries %package GB Requires: hunspell-filesystem +%if 0%{?rhel} +Requires: hunspell +Supplements: hunspell +%else Recommends: (hunspell or nuspell) -Supplements: ((hunspell or nuspell) and langpacks-en_GB) +Supplements: (hunspell or nuspell) +%endif +Supplements: langpacks-en_GB Summary: UK English hunspell dictionaries %description GB