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:07:01 +05:30
parent dcadfbf999
commit 75379adc93

View File

@ -1,14 +1,13 @@
Name: hyphen-ku
Summary: Kurdish hyphenation rules
Version: 1.71.2
Release: 9%{?dist}
Release: 10%{?dist}
Source: http://extensions.services.openoffice.org/e-files/2445/12/kitandin.oxt
Group: Applications/Text
URL: http://extensions.services.openoffice.org/project/kitandin
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-ku)
%description
Kurdish hyphenation rules.
@ -20,7 +19,6 @@ Kurdish hyphenation rules.
chmod -x *
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_ku.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_ku_TR.dic
@ -31,15 +29,16 @@ for lang in $ku_TR_aliases; do
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_ku.txt
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.71.2-10
- 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> - 1.71.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild