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:30 +05:30
parent b72b21221a
commit 9e0fdf138a

View File

@ -1,15 +1,14 @@
Name: hyphen-de Name: hyphen-de
Summary: German hyphenation rules Summary: German hyphenation rules
%define upstreamid 20060120 %global upstreamid 20060120
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 14%{?dist} Release: 15%{?dist}
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_de_DE.zip Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_de_DE.zip
Group: Applications/Text
URL: http://wiki.services.openoffice.org/wiki/Dictionaries URL: http://wiki.services.openoffice.org/wiki/Dictionaries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+ License: LGPLv2+
BuildArch: noarch BuildArch: noarch
Requires: hyphen Requires: hyphen
Supplements: (hyphen and langpacks-de)
%description %description
German hyphenation rules. German hyphenation rules.
@ -30,7 +29,6 @@ for i in README_hyph_de_DE.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_de_DE.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p hyph_de_DE.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
@ -41,15 +39,16 @@ for lang in $de_DE_aliases; do
done done
popd popd
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc README_hyph_de_DE.txt %doc README_hyph_de_DE.txt
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20060120-15
- 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.20060120-14 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20060120-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild