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:04:46 +05:30
parent 009afbe3a6
commit e188041b21

View File

@ -1,17 +1,16 @@
Name: hyphen-es
Summary: Spanish hyphenation rules
%define upstreamid 20110222svn
%global upstreamid 20110222svn
Version: 0.%{upstreamid}
Release: 7%{?dist}
Release: 8%{?dist}
#svn checkout https://forja.rediris.es/svn/rla-es/separacion
Source: hyphen-es-0.20110222svn.tar.gz
Group: Applications/Text
URL: https://forja.rediris.es/projects/rla-es/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-es)
%description
Spanish hyphenation rules.
@ -22,7 +21,6 @@ Spanish hyphenation rules.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p separacion/hyph_es_ANY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_es_ES.dic
@ -34,15 +32,16 @@ for lang in $es_ES_aliases; do
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc separacion/README_hyph_es_ANY.txt
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20110222svn-8
- 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.20110222svn-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
@ -76,5 +75,5 @@ rm -rf $RPM_BUILD_ROOT
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20040810-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Jan 06 2008 Caolán McNamara <caolanm@redhat.com> - 0.20040810-1
* Sun Jan 06 2008 Caolán McNamara <caolanm@redhat.com> - 0.20040810-1
- initial version