[rubygem-foreigner] Cleaned up formatting of fields and made the rubyabi global.
Darryl L. Pierce
mcpierce at fedoraproject.org
Wed Feb 8 15:46:19 UTC 2012
commit e2316191f4fcf49e1b7679e94268a05c966902d2
Author: Darryl L. Pierce <dpierce at redhat.com>
Date: Wed Feb 8 10:45:49 2012 -0500
Cleaned up formatting of fields and made the rubyabi global.
rubygem-foreigner.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/rubygem-foreigner.spec b/rubygem-foreigner.spec
index bc6b9b8..1b86550 100644
--- a/rubygem-foreigner.spec
+++ b/rubygem-foreigner.spec
@@ -1,5 +1,6 @@
# Generated from foreigner-0.9.2.gem by gem2rpm -*- rpm-spec -*-
%global gem_name foreigner
+%global rubyabi 1.9.1
Summary: Foreign Keys for Rails
Name: rubygem-%{gem_name}
@@ -15,8 +16,8 @@ BuildArch: noarch
BuildRequires: rubygems-devel
-Requires: ruby(abi) = 1.9.1
-Requires: ruby(rubygems) >= 1.3.5
+Requires: ruby(abi) = %{rubyabi}
+Requires: ruby(rubygems) >= 1.3.5
Requires: rubygem(activerecord) >= 3.0.0
Provides: rubygem(%{gem_name}) = %{version}
@@ -27,9 +28,9 @@ Adds helpers to migrations and correctly dumps foreign keys to schema.rb.
%package doc
-Summary: Documentation for %{name}
-Group: Documentation
-Requires: %{name} = %{version}-%{release}
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
BuildArch: noarch
More information about the scm-commits
mailing list