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:48 +05:30
parent 6027be102e
commit bcd913cd5d

View File

@ -1,16 +1,15 @@
Name: hunspell-wa
Summary: Walloon hunspell dictionaries
Version: 0.4.17
Release: 4%{?dist}
Release: 5%{?dist}
Source0: http://chanae.walon.org/walon/aspell-wa-%{version}.tar.bz2
Group: Applications/Text
URL: http://chanae.walon.org/walon/aspell.php
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
Patch0: hunspell-wa-0.4.15-buildfix.patch
Requires: hunspell
Supplements: (hunspell and langpacks-wa)
%description
Walloon hunspell dictionaries.
@ -33,20 +32,20 @@ for i in TODO README; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p wa.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/wa_BE.dic
cp -p wa.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/wa_BE.aff
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README LGPL ChangeLog TODO
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.4.17-5
- 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.4.17-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild