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

Vít Ondruch vondruch at fedoraproject.org
Mon Mar 11 13:04:07 UTC 2013


commit 19fdc981d4d4041f8999cd34aa22d47c9e35a019
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Mar 11 13:16:47 2013 +0100

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

 rubygem-audited-activerecord.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/rubygem-audited-activerecord.spec b/rubygem-audited-activerecord.spec
index 9d5b0cd..9e191dd 100644
--- a/rubygem-audited-activerecord.spec
+++ b/rubygem-audited-activerecord.spec
@@ -1,11 +1,10 @@
 # Generated from audited-activerecord-3.0.0.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name audited-activerecord
-%global rubyabi 1.9.1
 
 Summary: Log all changes to your ActiveRecord models
 Name: rubygem-%{gem_name}
 Version: 3.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Development/Languages
 # The license information is missing in the .gem file ATM.
 # https://github.com/collectiveidea/audited/pull/127
@@ -19,12 +18,12 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
 # tar czvf audited-activerecord-3.0.0-tests.tgz spec/audited/adapters/active_record \
 #   spec/rails_app spec/support/active_record spec/*.rb test
 Source1: %{gem_name}-%{version}-tests.tgz
-Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(release)
 Requires: ruby(rubygems)
 Requires: rubygem(audited) = 3.0.0
 Requires: rubygem(activerecord) => 3.0
 Requires: rubygem(activerecord) < 4
-BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
 BuildRequires: ruby
 BuildRequires: rubygem(audited) = 3.0.0
@@ -51,9 +50,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
 
@@ -82,6 +79,9 @@ popd
 %doc %{gem_docdir}
 
 %changelog
+* Mon Mar 11 2013 Vít Ondruch <vondruch at redhat.com> - 3.0.0-3
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list