From 116ca57499c735386700adecd9a84990dd8df189 Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: Feb 28 2007 00:58:24 +0000 Subject: New version 0.9.2; fix bz227400 --- diff --git a/.cvsignore b/.cvsignore index 588f454..29a33be 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -rubygems-0.9.1.tgz +rubygems-0.9.2.tgz diff --git a/noarch-gemdir.patch b/noarch-gemdir.patch new file mode 100644 index 0000000..04c2f46 --- /dev/null +++ b/noarch-gemdir.patch @@ -0,0 +1,13 @@ +--- 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 + diff --git a/rubygems.spec b/rubygems.spec index 5bd1428..cfea540 100644 --- a/rubygems.spec +++ b/rubygems.spec @@ -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 @@ libraries. %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 @@ rm -rf $RPM_BUILD_ROOT %{ruby_sitelib}/rbconfig/datadir.rb %changelog +* Tue Feb 27 2007 David Lutterkort - 0.9.2-1 +- New version +- Add patch0 to fix multilib sensitivity of Gem::dir (bz 227400) + * Thu Jan 18 2007 David Lutterkort - 0.9.1-1 - New version; include LICENSE.txt and GPL.txt - avoid '..' in gem_dir to work around a bug in gem installer diff --git a/sources b/sources index 2019747..0cb4ad5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a62314cdb174ccc88a27b8924fa79e4a rubygems-0.9.1.tgz +cc525053dd465ab6e33af382166fa808 rubygems-0.9.2.tgz