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:22:27 +05:30
parent f719d4b22c
commit 1daf4b7270

View File

@ -1,17 +1,16 @@
Name: hunspell-az Name: hunspell-az
Summary: Azerbaijani hunspell dictionaries Summary: Azerbaijani hunspell dictionaries
%define upstreamid 20040827 %global upstreamid 20040827
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 13%{?dist} Release: 14%{?dist}
Group: Applications/Text
Source: ftp://ftp.gnu.org/gnu/aspell/dict/az/aspell6-az-0.02-0.tar.bz2 Source: ftp://ftp.gnu.org/gnu/aspell/dict/az/aspell6-az-0.02-0.tar.bz2
URL: http://borel.slu.edu/crubadan/apps.html URL: http://borel.slu.edu/crubadan/apps.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+ License: GPLv2+
BuildArch: noarch BuildArch: noarch
BuildRequires: aspell, hunspell-devel BuildRequires: aspell, hunspell-devel
Requires: hunspell Requires: hunspell
Supplements: (hunspell and langpacks-az)
%description %description
Azerbaijani hunspell dictionaries. Azerbaijani hunspell dictionaries.
@ -35,19 +34,19 @@ for i in Copyright doc/Crawler.txt; do
done done
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc COPYING Copyright README doc/Crawler.txt %doc COPYING Copyright README doc/Crawler.txt
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20040827-14
- 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.20040827-13 * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040827-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild