[rubygem-kgio/el6] Removed rubygems-devel and related macros use
Guillermo Gómez
gomix at fedoraproject.org
Fri Mar 23 21:08:45 UTC 2012
commit d78404517e939c6c5ca4a4845769ef2c64dd453b
Author: Guillermo Gomez S. (Gomix) <guillermo.gomez at gmail.com>
Date: Fri Mar 23 16:38:14 2012 -0430
Removed rubygems-devel and related macros use
rubygem-kgio.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-kgio.spec b/rubygem-kgio.spec
index 5db0239..12fda77 100644
--- a/rubygem-kgio.spec
+++ b/rubygem-kgio.spec
@@ -1,5 +1,11 @@
%global gem_name kgio
+%global gem_dir /usr/lib/ruby/gems/1.8
+%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
+%global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem
+%global gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
+
+
%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
%global rubyabi 1.8
@@ -22,7 +28,6 @@ BuildRequires: ruby
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: ruby(rubygems)
BuildRequires: ruby-devel
-BuildRequires: rubygems-devel
BuildRequires: ruby-irb
Provides: rubygem(%{gem_name}) = %{version}
ExcludeArch: ppc ppc64
@@ -113,7 +118,6 @@ rm -rf %{buildroot}
- Removed unnecesary patch to run tests
* Sun Feb 12 2012 Guillermo Gómez <guillermo.gomez at gmail.com> - 2.7.0-5
-- Proper use of new macros for Ruby 1.9 packaging
- irb added as build require
* Tue Jan 07 2012 Guillermo Gómez <guillermo.gomez at gmail.com> - 2.7.0-4
More information about the scm-commits
mailing list