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:09:10 +05:30
parent f064b60cf7
commit 1223b3bef4

View File

@ -1,14 +1,13 @@
Name: hyphen-sv
Summary: Swedish hyphenation rules
Version: 1.00.1
Release: 13%{?dist}
Release: 14%{?dist}
Source: http://extensions.services.openoffice.org/files/1966/4/hyph_sv_SE.oxt
Group: Applications/Text
URL: http://extensions.services.openoffice.org/node/1968
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+ or GPLv2+
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-sv)
%description
Swedish hyphenation rules.
@ -30,7 +29,6 @@ for i in README_sv_SE.txt; do
done
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_sv_SE.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
@ -41,15 +39,16 @@ for lang in $sv_SE_aliases; do
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_sv_SE.txt
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.00.1-14
- 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.00.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild