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:12 +05:30
parent 237b3395c8
commit 56f22e1bab

View File

@ -1,15 +1,14 @@
Name: hyphen-fo Name: hyphen-fo
Summary: Faroese hyphenation rules Summary: Faroese hyphenation rules
%define upstreamid 20040420 %global upstreamid 20040420
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 9%{?dist} Release: 10%{?dist}
Source: http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip Source: http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip
Group: Applications/Text
URL: http://fo.speling.org/ URL: http://fo.speling.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPL+ License: GPL+
BuildArch: noarch BuildArch: noarch
Requires: hyphen Requires: hyphen
Supplements: (hyphen and langpacks-fo)
%description %description
Faroese hyphenation rules. Faroese hyphenation rules.
@ -30,19 +29,19 @@ for i in README_hyph_fo_FO.txt; do
done done
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_fo_FO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p hyph_fo_FO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc README_hyph_fo_FO.txt %doc README_hyph_fo_FO.txt
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20040420-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> - 0.20040420-9 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20040420-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild