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:29:47 +05:30
parent 8ab519d96f
commit ec74cfff54

View File

@ -1,16 +1,15 @@
Name: hunspell-mi
Summary: Maori hunspell dictionaries
%define upstreamid 20080630
%global upstreamid 20080630
Version: 0.%{upstreamid}
Release: 11%{?dist}
Release: 12%{?dist}
Source: http://packages.papakupu.maori.nz/hunspell/hunspell-mi-0.1.%{upstreamid}-beta.tar.gz
Group: Applications/Text
URL: http://papakupu.maori.nz/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv3+
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-mi)
%description
Maori hunspell dictionaries.
@ -21,20 +20,20 @@ Maori hunspell dictionaries.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p mi.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.aff
cp -p mi.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.dic
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc mi.AUTHORS mi.LICENSE mi.README
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20080630-12
- 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.20080630-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild