Add Supplements: tag for langpacks naming guidelines

- Clean the specfile to follow current packaging guidelines
This commit is contained in:
Parag Nemade 2016-02-19 23:32:28 +05:30
parent 7cd7f6b3d9
commit fb73bb480e

View File

@ -1,15 +1,14 @@
Name: hunspell-qu Name: hunspell-qu
Summary: Quechua Ecuador hunspell dictionaries Summary: Quechua Ecuador hunspell dictionaries
Version: 0.9 Version: 0.9
Release: 8%{?dist} Release: 9%{?dist}
Group: Applications/Text
Source: http://extensions.services.openoffice.org/e-files/2121/8/qu_EC-0.9.oxt Source: http://extensions.services.openoffice.org/e-files/2121/8/qu_EC-0.9.oxt
URL: http://extensions.services.openoffice.org/project/KichwaSpellchecker URL: http://extensions.services.openoffice.org/project/KichwaSpellchecker
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: AGPLv3 License: AGPLv3
BuildArch: noarch BuildArch: noarch
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-qu)
%description %description
Quechua Ecuador hunspell dictionaries. Quechua Ecuador hunspell dictionaries.
@ -20,19 +19,19 @@ Quechua Ecuador hunspell dictionaries.
%build %build
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p qu_EC.aff qu_EC.dic $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p qu_EC.aff qu_EC.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc CURRENTVERSION.txt LICENSE.txt README.txt REVISION.txt %doc CURRENTVERSION.txt LICENSE.txt README.txt REVISION.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.9-9
- Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-8 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild