[hyphen-bn] Update to new upstream 0.7.0

pnemade pnemade at fedoraproject.org
Thu Aug 2 09:22:24 UTC 2012


commit 0f68db1f2e7d0863cbcb4fd0cf5cecf360513609
Author: Parag Nemade <pnemade at redhat.com>
Date:   Thu Aug 2 14:51:53 2012 +0530

    Update to new upstream 0.7.0

 .gitignore     |    1 +
 hyph_bn_IN.dic |  100 --------------------------------------------------------
 hyphen-bn.spec |   18 ++++++----
 sources        |    2 +-
 4 files changed, 12 insertions(+), 109 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3726060..06ce7c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 hyph_bn_IN.dic
+/hyphen-bn-0.7.0.tar.bz2
diff --git a/hyphen-bn.spec b/hyphen-bn.spec
index c0ff015..964c564 100644
--- a/hyphen-bn.spec
+++ b/hyphen-bn.spec
@@ -1,12 +1,13 @@
+%global upstreamid 20111229
+%global upstream_version 0.7.0
+
 Name: hyphen-bn
 Summary: Bengali hyphenation rules
-%define upstreamid 20100204
 Version: 0.%{upstreamid}
-Release: 4%{?dist}
-Source: http://git.savannah.gnu.org/cgit/smc.git/plain/hyphenation/hyph_bn_IN.dic
+Release: 1%{?dist}
+Source: http://download.savannah.gnu.org/releases/smc/hyphenation/patterns/%{name}-%{upstream_version}.tar.bz2
 Group: Applications/Text
 URL: http://wiki.smc.org.in
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License: LGPLv3+
 BuildArch: noarch
 Requires: hyphen
@@ -15,15 +16,14 @@ Requires: hyphen
 Bengali hyphenation rules.
 
 %prep
-%setup -T -q -c
-cp -p %{SOURCE0} .
+%setup -q -n %{name}-%{upstream_version} 
 
 %build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
-cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
+install -m644 -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
 
 pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
 bn_IN_aliases="bn_BD"
@@ -36,10 +36,12 @@ popd
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %{_datadir}/hyphen/*
 
 %changelog
+* Thu Aug 02 2012 Parag <pnemade AT redhat DOT com> - 0.20111229-1
+- Update to new upstream 0.7.0
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20100204-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 839614e..333b568 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-86177d1d3a3ee7364a46f452420fcc38  hyph_bn_IN.dic
+7f42ab9335568aa6c8e5b18265d9d139  hyphen-bn-0.7.0.tar.bz2


More information about the scm-commits mailing list