[rubygem-gettext/f17] 2.2.0

Mamoru Tasaka mtasaka at fedoraproject.org
Mon Apr 9 08:04:31 UTC 2012


commit 9f59bc4852a8def5e3b050aaff46240fbb1cac4c
Author: Mamoru TASAKA <mtasaka at localhost.localdomain>
Date:   Mon Apr 9 17:04:22 2012 +0900

    2.2.0

 rubygem-gettext.spec |   31 +++++++++----------------------
 1 files changed, 9 insertions(+), 22 deletions(-)
---
diff --git a/rubygem-gettext.spec b/rubygem-gettext.spec
index 798d787..cd9d81d 100644
--- a/rubygem-gettext.spec
+++ b/rubygem-gettext.spec
@@ -14,25 +14,18 @@
 %global		repoid			67096
 
 Name:		rubygem-%{gem_name}
-Version:	2.1.0
-Release:	7%{?dist}
+Version:	2.2.0
+Release:	1%{?dist}
 Summary:	RubyGem of Localization Library and Tools for Ruby
 Group:		Development/Languages
 
 License:	Ruby
 URL:		http://www.yotabanana.com/hiki/ruby-gettext.html?ruby-gettext
-#Source0:	http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
-Source0:	http://rubyforge.org/frs/download.php/%{repoid}/%{gem_name}-%{version}.gem
-Patch0:		rubygem-gettext-2.1.0-ruby186-compat.patch
-# Gem.all_load_paths is deprecated on rubygems from 1.7.0 and will be removed
-# from rubygems on 2011-10-01
-Patch1:		rubygem-gettext-2.1.0-rescue-gem_all_load_paths.patch
-# For ruby 1.9
-Patch10:	rubygem-gettext-2.1.0-ruby19.patch
+Source0:	http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
+#Source0:	http://rubyforge.org/frs/download.php/%{repoid}/%{gem_name}-%{version}.gem
 
 BuildRequires:	ruby(abi) = %{rubyabi}
 BuildRequires:	rubygems-devel
-BuildRequires:	rubygem(rake)
 BuildRequires:	rubygem(minitest)
 %if %{do_test}
 # For %%check
@@ -95,14 +88,6 @@ gem install \
 	-V \
 	%{SOURCE0}
 
-pushd .%{gem_instdir}
-%patch0 -p0
-%patch1 -p1
-%if 0%{?ruby19} > 0
-%patch10 -p1
-%endif
-popd
-
 #%%{__rm} -f .%{gem_instdir}/Rakefile
 %{__rm} -f .%{gem_instdir}/%{gem_name}.gemspec
 %{__rm} -f .%{gem_instdir}/replace.rb
@@ -221,7 +206,7 @@ done
 %check
 pushd .%{gem_instdir}
 export RUBYLIB=$(pwd)/lib:$(pwd)/test
-rake test
+ruby test/test_*.rb
 %endif
 
 %clean
@@ -235,6 +220,7 @@ rake test
 
 %dir %{gem_instdir}/
 %doc %{gem_instdir}/[A-Z]*
+%doc %{gem_instdir}/doc/
 %exclude %{gem_instdir}/Rakefile
 %{gem_instdir}/bin/
 %{gem_instdir}/lib/
@@ -246,9 +232,7 @@ rake test
 %files		doc
 %defattr(-,root,root,-)
 %{gem_docdir}/
-%{gem_instdir}/benchmark/
 %{gem_instdir}/samples/
-%{gem_instdir}/test.rb
 %{gem_instdir}/test/
 
 %if 0%{?ruby19} < 1
@@ -260,6 +244,9 @@ rake test
 
 
 %changelog
+* Mon Apr  7 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.2.0-1
+- 2.2.0
+
 * Tue Apr 03 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 2.1.0-7
 - Fix conditionals for F17 to work for RHEL 7 as well.
 


More information about the scm-commits mailing list