[hyphen-bn] Resolves:rh#880126- package does not follow naming guidelines
pnemade
pnemade at fedoraproject.org
Tue Nov 27 16:55:59 UTC 2012
commit eeceb69056e12437fdd75e19919f032ad37ca3e9
Author: Parag Nemade <pnemade at redhat.com>
Date: Tue Nov 27 22:27:53 2012 +0530
Resolves:rh#880126- package does not follow naming guidelines
hyphen-bn.spec | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/hyphen-bn.spec b/hyphen-bn.spec
index eb15a1a..98be9ab 100644
--- a/hyphen-bn.spec
+++ b/hyphen-bn.spec
@@ -1,11 +1,9 @@
-%global upstreamid 20111229
-%global upstream_version 0.7.0
-
Name: hyphen-bn
Summary: Bengali 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,16 +14,15 @@ Requires: hyphen
Bengali hyphenation rules.
%prep
-%setup -q -n %{name}-%{upstream_version}
+%setup -q
%build
%install
-rm -rf $RPM_BUILD_ROOT
-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
-pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
+pushd %{buildroot}/%{_datadir}/hyphen/
bn_IN_aliases="bn_BD"
for lang in $bn_IN_aliases; do
ln -s hyph_bn_IN.dic hyph_$lang.dic
@@ -37,6 +34,9 @@ popd
%{_datadir}/hyphen/*
%changelog
+* Tue Nov 27 2012 Parag <pnemade AT redhat DOT com> - 0.7.0-1
+- Resolves:rh#880126- package does not follow naming guidelines
+
* Wed Nov 21 2012 Parag <pnemade AT redhat DOT com> - 0.20111229-2
- Add %%doc files
More information about the scm-commits
mailing list