[rubygem-gem-patch] F-19: Rebuild for Ruby 2.0.0

Josef Stribny jstribny at fedoraproject.org
Wed Feb 27 12:56:02 UTC 2013


commit 63157ede35133e2c5823148362e8d168185f2f2f
Author: Josef Stribny <jstribny at redhat.com>
Date:   Wed Feb 27 13:55:54 2013 +0100

    F-19: Rebuild for Ruby 2.0.0

 rubygem-gem-patch.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/rubygem-gem-patch.spec b/rubygem-gem-patch.spec
index 20729b7..1cf2bea 100644
--- a/rubygem-gem-patch.spec
+++ b/rubygem-gem-patch.spec
@@ -1,18 +1,17 @@
 # Generated from gem-patch-0.1.2.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name gem-patch
-%global rubyabi 1.9.1
 
 Summary: RubyGems plugin for patching gems
 Name: rubygem-%{gem_name}
 Version: 0.1.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/strzibny/gem-patch
 Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 BuildRequires:  rubygems-devel 
 BuildRequires:  rubygem(minitest)
-Requires:       ruby(abi) = 1.9.1
+Requires:       ruby(release)
 Requires:       ruby(rubygems)
 BuildArch: noarch
 Provides: rubygem(%{gem_name}) = %{version}
@@ -35,9 +34,7 @@ Documentation for %{name}
 
 %prep
 %setup -q -c -T
-mkdir -p .%{gem_dir}
-gem install --local --install-dir .%{gem_dir} \
-            --force %{SOURCE0}
+%gem_install -n %{SOURCE0}
 %build
 
 %install
@@ -65,6 +62,9 @@ testrb -Ilib test
 %{gem_instdir}/test
 
 %changelog
+* Wed Feb 27 2013 Josef Stribny <jstribny at redhat.com> - 0.1.3-3
+- F-19: Rebuild for ruby 2.0.0
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list