[rubygem-gem2rpm/f19] Update to gem2rpm 0.10.1.

Vít Ondruch vondruch at fedoraproject.org
Mon May 5 12:43:15 UTC 2014


commit 00cab670c4880516c3ecf85540a6fc38db30daa4
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon May 5 13:19:14 2014 +0200

    Update to gem2rpm 0.10.1.

 .gitignore           |    2 ++
 rubygem-gem2rpm.spec |   18 ++++++++++++------
 sources              |    4 ++--
 3 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5dc510c..0401642 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,5 @@ gem2rpm-0.6.0.gem
 /gem2rpm-0.9.1.gem
 /gem2rpm-0.9.2-tests.tgz
 /gem2rpm-0.9.2.gem
+/gem2rpm-0.10.1-tests.tgz
+/gem2rpm-0.10.1.gem
diff --git a/rubygem-gem2rpm.spec b/rubygem-gem2rpm.spec
index 4939a42..d5f5f1a 100644
--- a/rubygem-gem2rpm.spec
+++ b/rubygem-gem2rpm.spec
@@ -3,14 +3,14 @@
 
 Summary: Generate rpm specfiles from gems
 Name: rubygem-%{gem_name}
-Version: 0.9.2
+Version: 0.10.1
 Release: 1%{?dist}
 Group: Development/Languages
 License: GPLv2+
 URL: https://github.com/lutter/gem2rpm/
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-# git clone https://github.com/lutter/gem2rpm.git && cd gem2rpm && git checkout v0.9.2
-# tar czvf gem2rpm-0.9.2-tests.tgz test/
+# git clone https://github.com/lutter/gem2rpm.git && cd gem2rpm && git checkout v0.10.1
+# tar czvf gem2rpm-0.10.1-tests.tgz test/
 Source1: %{gem_name}-%{version}-tests.tgz
 Requires: ruby(release)
 Requires: ruby(rubygems)
@@ -62,9 +62,12 @@ pushd .%{gem_instdir}
 tar xzvf %{SOURCE1}
 
 # Disable this test, since it needs online access (see the comment on line 22).
-sed -i "23,25 d" test/test_gem2rpm.rb
+sed -i "/test_find_download_url_for_source_address/,/  end/ s/^/#/" test/test_gem2rpm.rb
 
-testrb -Itest test/
+ruby -Itest -rminitest/unit - << \EOF
+  Minitest::Test = MiniTest::Unit::TestCase
+  Dir.glob "./test/**/test_*.rb", &method(:require)
+EOF
 popd
 
 %files
@@ -83,6 +86,9 @@ popd
 %doc %{gem_instdir}/AUTHORS
 
 %changelog
+* Mon May 05 2014 Vít Ondruch <vondruch at redhat.com> - 0.10.1-1
+- Update to gem2rpm 0.10.0.
+
 * Tue Apr 23 2013 Vít Ondruch <vondruch at redhat.com> - 0.9.2-1
 - Update to gem2rpm 0.9.2.
 
@@ -100,7 +106,7 @@ popd
 - Fix template for F17 and above.
 - Fix release enumeration logic.
 
-* Fri Jan 23 2012 Vít Ondruch <vondruch at redhat.com> - 0.8.0-1
+* Mon Jan 23 2012 Vít Ondruch <vondruch at redhat.com> - 0.8.0-1
 - Updated to gem2rpm 0.8.0.
 
 * Fri Jan 20 2012 Vít Ondruch <vondruch at redhat.com> - 0.7.1-4
diff --git a/sources b/sources
index 2059003..43132ed 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-e5a178f7cf4aff215cfe232d8808d2e4  gem2rpm-0.9.2-tests.tgz
-6988e28332369a79067d45b8c61f2851  gem2rpm-0.9.2.gem
+7efa72436d776242f047c658acfcf3bc  gem2rpm-0.10.1-tests.tgz
+79141142a432303e0d611f75dfd20591  gem2rpm-0.10.1.gem


More information about the scm-commits mailing list