Clean the spec as per current packaging guidelines

This commit is contained in:
Parag Nemade 2015-12-25 13:32:51 +05:30
parent f5c205ad2f
commit 88ae66a8fc

View File

@ -1,14 +1,13 @@
%global upstreamid 20110915
Name: hyphen-sa
Summary: Sanskrit hyphenation rules
%define upstreamid 20110915
Version: 0.%{upstreamid}
Release: 7%{?dist}
Release: 8%{?dist}
#? in a url causes trouble
#http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-sa.tex?view=co
Source: hyph-sa.tex
Group: Applications/Text
URL: http://tug.org/tex-hyphen
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LPPL
BuildArch: noarch
BuildRequires: hyphen-devel
@ -31,19 +30,17 @@ echo "" >> README
head -n 17 hyph-sa.tex >> README
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_sa_IN.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_datadir}/hyphen/hyph_sa_IN.dic
%changelog
* Fri Dec 25 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.20110915-8
- Clean the spec as per current packaging guidelines
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20110915-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild