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:27:16 +05:30
parent 064da896cc
commit d1390759a3

View File

@ -1,15 +1,14 @@
Name: hunspell-hsb Name: hunspell-hsb
Summary: Upper Sorbian hunspell dictionaries Summary: Upper Sorbian hunspell dictionaries
Version: 0.20060327.3 Version: 0.20060327.3
Release: 8%{?dist} Release: 9%{?dist}
Source: https://addons.mozilla.org/firefox/downloads/file/113003/upper_sorbian_spelling_dictionary-0.0.20060327.3-tb+fx+sm.xpi Source: https://addons.mozilla.org/firefox/downloads/file/113003/upper_sorbian_spelling_dictionary-0.0.20060327.3-tb+fx+sm.xpi
Group: Applications/Text
URL: http://sorbzilla.de/ URL: http://sorbzilla.de/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+ License: GPLv2+
BuildArch: noarch BuildArch: noarch
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-hsb)
%description %description
Upper Sorbian hunspell dictionaries. Upper Sorbian hunspell dictionaries.
@ -20,20 +19,20 @@ Upper Sorbian 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 dictionaries/hsb.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/hsb_DE.aff cp -p dictionaries/hsb.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/hsb_DE.aff
cp -p dictionaries/hsb.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/hsb_DE.dic cp -p dictionaries/hsb.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/hsb_DE.dic
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root)
%doc COPYING README %doc COPYING README
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20060327.3-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.20060327.3-8 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20060327.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild