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:04 +05:30
parent 73e77eb0c3
commit f02e875206

View File

@ -1,16 +1,15 @@
Name: hyphen-fa
Summary: Farsi hyphenation rules
%define upstreamid 20130404
%global upstreamid 20130404
Version: 0.%{upstreamid}
Release: 5%{?dist}
Release: 6%{?dist}
Source: http://mirrors.ctan.org/language/hyphenation/fahyph.zip
Group: Applications/Text
URL: http://www.ctan.org/tex-archive/language/hyphenation/fahyph
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LPPL
BuildArch: noarch
BuildRequires: hyphen-devel
Requires: hyphen
Supplements: (hyphen and langpacks-fa)
Patch0: hyphen-fa-cleantex.patch
%description
@ -25,19 +24,19 @@ substrings.pl fahyph.tex hyph_fa_IR.dic UTF-8
chmod -x *
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_fa_IR.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_datadir}/hyphen/*
%changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20130404-6
- 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.20130404-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild