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:23:46 +05:30
parent 635e9edf33
commit c3ff82b931

View File

@ -1,16 +1,15 @@
Name: hunspell-cy
Summary: Welsh hunspell dictionaries
%define upstreamid 20040425
%global upstreamid 20040425
Version: 0.%{upstreamid}
Release: 13%{?dist}
Release: 14%{?dist}
Source: http://www.e-gymraeg.co.uk/myspell/myspell.zip
Group: Applications/Text
URL: http://www.e-gymraeg.co.uk/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-cy)
%description
Welsh hunspell dictionaries.
@ -34,19 +33,19 @@ for i in README_cy_GB.txt; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_cy_GB.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20040425-14
- 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.20040425-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild