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:42 +05:30
parent 73879cdd77
commit 862197b706

View File

@ -1,16 +1,15 @@
Name: hunspell-ber
Summary: Amazigh hunspell dictionaries
%define upstreamid 20080210
%global upstreamid 20080210
Version: 0.%{upstreamid}
Release: 11%{?dist}
Release: 12%{?dist}
Source: http://ayaspell.sourceforge.net/data/hunspell-am_test.tar.gz
Group: Applications/Text
URL: http://ayaspell.sourceforge.net/am.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+ or LGPLv2+ or MPLv1.1
BuildArch: noarch
Requires: hunspell
Supplements: (hunspell and langpacks-ber)
%description
Amazigh hunspell dictionaries.
@ -21,20 +20,20 @@ Amazigh hunspell dictionaries.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p tifinagh.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ber_MA.dic
cp -p tifinagh.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ber_MA.aff
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20080210-12
- 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.20080210-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild