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:36:09 +05:30
parent 1ccc889aaf
commit 239ca19bf5

View File

@ -1,15 +1,14 @@
Name: hunspell-uk
Summary: Ukrainian hunspell dictionaries
Version: 1.6.6
Release: 5%{?dist}
Release: 6%{?dist}
Source: http://downloads.sourceforge.net/ispell-uk/spell-uk/1.6.6/myspell-uk_UA-1.6.6.zip
Group: Applications/Text
URL: http://sourceforge.net/projects/ispell-uk
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+ or LGPLv2+ or MPLv1.1
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-uk)
%description
Ukrainian hunspell dictionaries.
@ -20,20 +19,20 @@ Ukrainian hunspell dictionaries.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p uk_UA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p uk_UA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_uk_UA.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.6.6-6
- 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> - 1.6.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild