conditionals for nuspell not part of rhel
This commit is contained in:
parent
1674ff557c
commit
96750d8bb8
@ -40,14 +40,23 @@ BuildRequires: aspell, zip, dos2unix, perl-Getopt-Long, gcc-c++
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
Requires: hunspell-en-US = %{version}-%{release}
|
Requires: hunspell-en-US = %{version}-%{release}
|
||||||
Requires: hunspell-en-GB = %{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
|
%description
|
||||||
English (US, UK, etc.) hunspell dictionaries
|
English (US, UK, etc.) hunspell dictionaries
|
||||||
|
|
||||||
%package US
|
%package US
|
||||||
Requires: hunspell-filesystem
|
Requires: hunspell-filesystem
|
||||||
|
%if 0%{?rhel}
|
||||||
|
Requires: hunspell
|
||||||
|
%else
|
||||||
Recommends: (hunspell or nuspell)
|
Recommends: (hunspell or nuspell)
|
||||||
|
%endif
|
||||||
Summary: US English hunspell dictionaries
|
Summary: US English hunspell dictionaries
|
||||||
|
|
||||||
%description US
|
%description US
|
||||||
@ -55,8 +64,14 @@ US English hunspell dictionaries
|
|||||||
|
|
||||||
%package GB
|
%package GB
|
||||||
Requires: hunspell-filesystem
|
Requires: hunspell-filesystem
|
||||||
|
%if 0%{?rhel}
|
||||||
|
Requires: hunspell
|
||||||
|
Supplements: hunspell
|
||||||
|
%else
|
||||||
Recommends: (hunspell or nuspell)
|
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
|
Summary: UK English hunspell dictionaries
|
||||||
|
|
||||||
%description GB
|
%description GB
|
||||||
|
Loading…
Reference in New Issue
Block a user