From bbb47045866f00c2642af394d4b77b620e388bc0 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Fri, 19 Feb 2016 23:24:24 +0530 Subject: [PATCH] Add Supplements: tag for langpacks naming guidelines - Clean the specfile to follow current packaging guidelines --- hunspell-en.spec | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/hunspell-en.spec b/hunspell-en.spec index 7e60dcf..161add6 100644 --- a/hunspell-en.spec +++ b/hunspell-en.spec @@ -1,8 +1,8 @@ Name: hunspell-en Summary: English hunspell dictionaries -%define upstreamid 20140811.1 +%global upstreamid 20140811.1 Version: 0.%{upstreamid} -Release: 4%{?dist} +Release: 5%{?dist} Source0: https://github.com/kevina/wordlist/archive/rel-2014.08.11.1.tar.gz Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip #See http://mxr.mozilla.org/mozilla/source/extensions/spellcheck/locales/en-US/hunspell/mozilla_words.diff?raw=1 @@ -26,15 +26,14 @@ Patch7: en_IE.supplemental.patch Patch8: hunspell-en-dont-call-git-during-build.patch #fix build Patch9: hunspell-en-fixbuild.patch -Group: Applications/Text URL: http://wordlist.sourceforge.net/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: LGPLv2+ and LGPLv2 and BSD BuildArch: noarch BuildRequires: aspell, zip, dos2unix, perl-Getopt-Long Requires: hunspell Requires: hunspell-en-US = %{version}-%{release} Requires: hunspell-en-GB = %{version}-%{release} +Supplements: (hunspell and langpacks-en) %description English (US, UK, etc.) hunspell dictionaries @@ -42,7 +41,6 @@ English (US, UK, etc.) hunspell dictionaries %package US Requires: hunspell Summary: US English hunspell dictionaries -Group: Applications/Text %description US US English hunspell dictionaries @@ -50,7 +48,6 @@ US English hunspell dictionaries %package GB Requires: hunspell Summary: UK English hunspell dictionaries -Group: Applications/Text %description GB UK English hunspell dictionaries @@ -85,7 +82,6 @@ for i in README_en_CA.txt README_en_US.txt; do done %install -rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p en_??.dic en_??.aff $RPM_BUILD_ROOT/%{_datadir}/myspell cd scowl/speller @@ -104,27 +100,26 @@ for lang in $en_US_aliases; do done popd -%clean -rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc scowl/speller/README_en_CA.txt %{_datadir}/myspell/* %exclude %{_datadir}/myspell/en_GB.* %exclude %{_datadir}/myspell/en_US.* %files US -%defattr(-,root,root,-) %doc scowl/speller/README_en_US.txt %{_datadir}/myspell/en_US.* %files GB -%defattr(-,root,root,-) %doc README_en_GB.txt %{_datadir}/myspell/en_GB.* %changelog +* Fri Feb 19 2016 Parag Nemade - 0.20140811.1-5 +- Add Supplements: tag for langpacks naming guidelines +- Clean the specfile to follow current packaging guidelines + * Mon Feb 15 2016 Caolán McNamara - 0.20140811.1-4 - Resolves: rhbz#1307627 FTBFS