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:06:16 +05:30
parent b035198237
commit fc5d4d7bfb

View File

@ -1,16 +1,15 @@
Name: hyphen-hu
Summary: Hungarian hyphenation rules
%define upstreamid 20090612
%global upstreamid 20090612
Version: 0.%{upstreamid}
Release: 14%{?dist}
Release: 15%{?dist}
Source: http://download.github.com/nagybence-huhyphn-aa3fc85.tar.gz
Group: Applications/Text
URL: http://www.tipogral.hu/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2
BuildArch: noarch
#BuildRequires: eruby, texlive
Requires: hyphen
Supplements: (hyphen and langpacks-hu)
%description
Hungarian hyphenation rules.
@ -25,19 +24,19 @@ Hungarian hyphenation rules.
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_hu.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_hu_HU.dic
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc gpl.txt README doc/huhyphn.pdf
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20090612-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.20090612-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild