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:05:23 +05:30
parent c596f645e0
commit 2a3e47e6b1

View File

@ -1,15 +1,14 @@
Name: hyphen-fr
Summary: French hyphenation rules
Version: 2.0
Release: 11%{?dist}
Release: 12%{?dist}
Source: http://www.dicollecte.org/download/fr/hyph_fr_2-0.zip
Group: Applications/Text
URL: http://www.dicollecte.org/download.php?prj=fr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-fr)
%description
French hyphenation rules.
@ -20,7 +19,6 @@ French hyphenation rules.
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
@ -31,15 +29,16 @@ for lang in $fr_FR_aliases; do
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_hyph_fr.txt
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.0-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> - 2.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild