[rubygem-gettext] 2.2.0
Mamoru Tasaka
mtasaka at fedoraproject.org
Mon Apr 9 08:06:22 UTC 2012
commit 5edeeee7ab0b1fcbb7201bed26ebc1c523cdf6d0
Author: Mamoru TASAKA <mtasaka at localhost.localdomain>
Date: Mon Apr 9 17:06:16 2012 +0900
2.2.0
.gitignore | 1 +
rubygem-gettext.spec | 31 +++++++++----------------------
sources | 2 +-
3 files changed, 11 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 39ba18e..ab6e125 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
gettext-2.1.0.gem
+/gettext-2.2.0.gem
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.
diff --git a/sources b/sources
index 7df86b5..985efa9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0576587a818e311e6eab1d453390eef4 gettext-2.1.0.gem
+2a752e75bd46832eb1f5f8660e05dc9a gettext-2.2.0.gem
More information about the scm-commits
mailing list