[rubygem-scoped_search] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

Miroslav Suchý msuchy at fedoraproject.org
Wed Mar 13 15:17:45 UTC 2013


commit 80c6304aa5c9a710a68f0eaa82ce3d77e1ac1eb6
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Wed Mar 13 16:17:15 2013 +0100

    Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

 rubygem-scoped_search.spec |   17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/rubygem-scoped_search.spec b/rubygem-scoped_search.spec
index a71cec0..78c8def 100644
--- a/rubygem-scoped_search.spec
+++ b/rubygem-scoped_search.spec
@@ -11,7 +11,7 @@ Summary: Easily search your ActiveRecord models
 Name: rubygem-%{gem_name}
 
 Version: 2.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://github.com/wvanbergen/scoped_search/wiki
@@ -21,9 +21,9 @@ Requires: rubygem-activerecord >= 2.1.0
 BuildRequires: ruby 
 BuildRequires: rubygems
 %if 0%{?rhel} == 6 || 0%{?fedora} < 17
-Requires: ruby(abi) = 1.8
+Requires: ruby(release)
 %else
-Requires: ruby(abi) = 1.9.1
+Requires: ruby(release)
 %endif
 %if 0%{?fedora}
 BuildRequires: rubygems-devel
@@ -66,17 +66,11 @@ gem unpack %{SOURCE0}
 gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
 
 %build
-mkdir -p .%{gem_dir}
 
 # Create the gem as gem install only works on a gem file
 gem build %{gem_name}.gemspec
 
-gem install -V \
-        --local \
-        --install-dir ./%{gem_dir} \
-        --force \
-        --rdoc \
-        %{gem_name}-%{version}.gem
+%gem_install
 
 %install
 mkdir -p %{buildroot}%{gem_dir}
@@ -124,6 +118,9 @@ popd
 %{gem_instdir}/%{gem_name}.gemspec
 
 %changelog
+* Wed Mar 13 2013 Miroslav Suchý <msuchy at redhat.com> - 2.4.1-2
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Mon Mar 11 2013 Miroslav Suchý <msuchy at redhat.com> 2.4.1-1
 - rebase to 2.4.1
 


More information about the scm-commits mailing list