From d5d3b93d1477031d5ccb18c4ef693b776a93b2a9 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 27 Nov 2012 22:53:50 +0530 Subject: [PATCH] Resolves:rh#880292- package does not follow naming guidelines --- hyphen-or.spec | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/hyphen-or.spec b/hyphen-or.spec index 9bca8ac..750f125 100644 --- a/hyphen-or.spec +++ b/hyphen-or.spec @@ -1,11 +1,9 @@ -%global upstreamid 20111229 -%global upstream_version 0.7.0 - Name: hyphen-or Summary: Oriya hyphenation rules -Version: 0.%{upstreamid} -Release: 2%{?dist} -Source: http://download.savannah.gnu.org/releases/smc/hyphenation/patterns/%{name}-%{upstream_version}.tar.bz2 +Epoch: 1 +Version: 0.7.0 +Release: 1%{?dist} +Source: http://download.savannah.gnu.org/releases/smc/hyphenation/patterns/%{name}-%{version}.tar.bz2 Group: Applications/Text URL: http://wiki.smc.org.in License: LGPLv3+ @@ -16,19 +14,22 @@ Requires: hyphen Oriya hyphenation rules. %prep -%setup -q -n %{name}-%{upstream_version} +%setup -q %build %install -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen -install -m644 -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen +mkdir -p %{buildroot}/%{_datadir}/hyphen +install -m644 -p *.dic %{buildroot}/%{_datadir}/hyphen %files %doc README COPYING ChangeLog %{_datadir}/hyphen/* %changelog +* Tue Nov 27 2012 Parag - 0.7.0-1 +- Resolves:rh#880292- package does not follow naming guidelines + * Wed Nov 21 2012 Parag - 0.20111229-2 - Add %%doc files