rpms/rubygems/FC-5 noarch-gemdir.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 rubygems.spec, 1.2, 1.3 sources, 1.3, 1.4

David Lutterkort (lutter) fedora-extras-commits at redhat.com
Wed Feb 28 01:00:30 UTC 2007


Author: lutter

Update of /cvs/extras/rpms/rubygems/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5602

Modified Files:
	.cvsignore rubygems.spec sources 
Added Files:
	noarch-gemdir.patch 
Log Message:
New version 0.9.2; fix bz227400

noarch-gemdir.patch:

--- NEW FILE noarch-gemdir.patch ---
--- rubygems-0.9.1/lib/rubygems.rb.orig 2007-02-12 15:36:46.000000000 -0800
+++ rubygems-0.9.1/lib/rubygems.rb      2007-02-12 15:43:35.000000000 -0800
@@ -457,7 +457,9 @@
       if defined? RUBY_FRAMEWORK_VERSION
         return File.join(File.dirname(Config::CONFIG["sitedir"]), "Gems")
       else
-        File.join(Config::CONFIG['libdir'], 'ruby', 'gems', Config::CONFIG['ruby_version'])
+        gemdir = File::expand_path(File::join(Config::CONFIG["sitedir"],"..","gems"))
+
+        File.join(gemdir, Config::CONFIG['ruby_version'])
       end
     end
 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rubygems/FC-5/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	18 Jan 2007 22:54:10 -0000	1.3
+++ .cvsignore	28 Feb 2007 00:59:58 -0000	1.4
@@ -1 +1 @@
-rubygems-0.9.1.tgz
+rubygems-0.9.2.tgz


Index: rubygems.spec
===================================================================
RCS file: /cvs/extras/rpms/rubygems/FC-5/rubygems.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rubygems.spec	18 Jan 2007 22:54:10 -0000	1.2
+++ rubygems.spec	28 Feb 2007 00:59:58 -0000	1.3
@@ -5,12 +5,13 @@
 
 Summary: The Ruby standard for packaging ruby libraries
 Name: rubygems
-Version: 0.9.1
+Version: 0.9.2
 Release: 1%{?dist}
 Group: Development/Libraries
 License: Ruby License/GPL
 URL: http://rubyforge.org/projects/rubygems/
-Source0: http://rubyforge.org/frs/download.php/16452/rubygems-0.9.1.tgz
+Source0: http://rubyforge.org/frs/download.php/17190/rubygems-0.9.2.tgz
+Patch0: noarch-gemdir.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
 Requires: ruby(abi) = 1.8
 Requires: ruby-rdoc
@@ -24,6 +25,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 # Some of the library files start with #! which rpmlint doesn't like
 # and doesn't make much sense
 for f in `find lib -name \*.rb` ; do
@@ -66,6 +68,10 @@
 %{ruby_sitelib}/rbconfig/datadir.rb
 
 %changelog
+* Tue Feb 27 2007 David Lutterkort <dlutter at redhat.com> - 0.9.2-1
+- New version
+- Add patch0 to fix multilib sensitivity of Gem::dir (bz 227400)
+
 * Thu Jan 18 2007 David Lutterkort <dlutter at redhat.com> - 0.9.1-1
 - New version; include LICENSE.txt and GPL.txt
 - avoid '..' in gem_dir to work around a bug in gem installer


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rubygems/FC-5/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	18 Jan 2007 22:54:10 -0000	1.3
+++ sources	28 Feb 2007 00:59:58 -0000	1.4
@@ -1 +1 @@
-a62314cdb174ccc88a27b8924fa79e4a  rubygems-0.9.1.tgz
+cc525053dd465ab6e33af382166fa808  rubygems-0.9.2.tgz




More information about the fedora-extras-commits mailing list