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:29:54 +05:30
parent ceb753ad96
commit 7813849f35

View File

@ -1,17 +1,16 @@
Name: hunspell-mk
Summary: Macedonian hunspell dictionaries
%define upstreamid 20051126
%global upstreamid 20051126
Version: 0.%{upstreamid}
Release: 11%{?dist}
Release: 12%{?dist}
Source: http://mk.openoffice.org/files/documents/215/3053/mk_MK.zip
Group: Applications/Text
URL: http://mk.openoffice.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+
BuildArch: noarch
Patch0: hunspell-mk-iconv.patch
Requires: hunspell
Supplements: (hunspell and langpacks-mk)
%description
Macedonian hunspell dictionaries.
@ -24,19 +23,19 @@ Macedonian hunspell dictionaries.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_mk_MK.txt
%{_datadir}/myspell/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20051126-12
- 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.20051126-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild