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:07:32 +05:30
parent c12756f0c5
commit bd4a691662

View File

@ -1,16 +1,15 @@
Name: hyphen-mn Name: hyphen-mn
Summary: Mongolian hyphenation rules Summary: Mongolian hyphenation rules
%define upstreamid 20100531 %global upstreamid 20100531
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 9%{?dist} Release: 10%{?dist}
Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl.tex?view=co#/hyph-mn-cyrl.tex Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl.tex?view=co#/hyph-mn-cyrl.tex
Group: Applications/Text
URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/mnhyphn.html URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/mnhyphn.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LPPL License: LPPL
BuildArch: noarch BuildArch: noarch
BuildRequires: hyphen-devel BuildRequires: hyphen-devel
Requires: hyphen Requires: hyphen
Supplements: (hyphen and langpacks-mn)
Patch0: hyphen-mn-cleantex.patch Patch0: hyphen-mn-cleantex.patch
%description %description
@ -29,19 +28,19 @@ echo "" >> README
head -n 83 hyph-mn-cyrl.tex >> README head -n 83 hyph-mn-cyrl.tex >> README
%install %install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_mn_MN.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen cp -p hyph_mn_MN.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc README %doc README
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%changelog %changelog
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20100531-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.20100531-9 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20100531-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild