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:21:57 +05:30
parent 42f981d3ab
commit 7c999b2fd5

View File

@ -1,16 +1,15 @@
Name: hunspell-am Name: hunspell-am
Summary: Amharic hunspell dictionaries Summary: Amharic hunspell dictionaries
%define upstreamid 20090704 %global upstreamid 20090704
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 10%{?dist} Release: 11%{?dist}
Source: http://www.cs.ru.nl/~biniam/geez/dict/am_ET.zip Source: http://www.cs.ru.nl/~biniam/geez/dict/am_ET.zip
Group: Applications/Text
URL: http://www.cs.ru.nl/~biniam/geez/index.php URL: http://www.cs.ru.nl/~biniam/geez/index.php
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+ License: GPL+
BuildArch: noarch BuildArch: noarch
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-am)
%description %description
Amharic hunspell dictionaries. Amharic hunspell dictionaries.
@ -24,19 +23,19 @@ touch -r README.txt README.txt.new
mv -f README.txt.new README.txt mv -f README.txt.new README.txt
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p am_ET.* $RPM_BUILD_ROOT/%{_datadir}/myspell/ cp -p am_ET.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc README.txt %doc README.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20090704-11
- Add Supplements: tag for langpacks naming guidelines
- Clean the specfile to follow current packaging guidelines
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090704-10 * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20090704-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild