Hello community, here is the log from the commit of package rubygems for openSUSE:Factory checked in at Fri Apr 16 12:40:35 CEST 2010. -------- --- rubygems/rubygems.changes 2010-04-13 12:22:10.000000000 +0200 +++ rubygems/rubygems.changes 2010-04-15 12:13:47.000000000 +0200 @@ -1,0 +2,14 @@ +Thu Apr 15 10:12:04 UTC 2010 - mrueckert@suse.de + +- added rubygems-1.3.6_unpack.patch: + dont check for the permissions of the installation directory + when unpacking a gem. Backport from trunk. +- remove find lines in %prep. They are not needed anymore. + +------------------------------------------------------------------- +Wed Apr 14 15:29:50 UTC 2010 - mrueckert@suse.de + +- update rubygems-1.3.6_buildroot.patch: + missing requires for pathname + +------------------------------------------------------------------- @@ -6 +20 @@ - versions. + versions. Backport from trunk. calling whatdependson for head-i586 New: ---- rubygems-1.3.6_unpack.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygems.spec ++++++ --- /var/tmp/diff_new_pack.DhSTRK/_old 2010-04-16 12:40:27.000000000 +0200 +++ /var/tmp/diff_new_pack.DhSTRK/_new 2010-04-16 12:40:27.000000000 +0200 @@ -20,7 +20,7 @@ Name: rubygems Version: 1.3.6 -Release: 1 +Release: 2 # License: Other uncritical OpenSource License Group: Development/Languages/Ruby @@ -38,6 +38,7 @@ Source3: rubygems.macros Patch: rubygems-1.3.6_buildroot.patch Patch1: rubygems-1.3.6_version_requirements.patch +Patch2: rubygems-1.3.6_unpack.patch Summary: The Ruby standard for publishing and managing third party libraries %description @@ -68,8 +69,7 @@ %setup -n %{name}-%{version} %patch %patch1 -find test -type f -perm 0755 -print0 | xargs -r0 chmod -v a-x -find -name '._*' -print -delete +%patch2 %build ++++++ rubygems-1.3.6_buildroot.patch ++++++ --- /var/tmp/diff_new_pack.DhSTRK/_old 2010-04-16 12:40:27.000000000 +0200 +++ /var/tmp/diff_new_pack.DhSTRK/_new 2010-04-16 12:40:27.000000000 +0200 @@ -30,11 +30,12 @@ begin @format = Gem::Format.from_file_by_path @gem, @security_policy -@@ -132,6 +133,13 @@ class Gem::Installer +@@ -132,6 +133,14 @@ class Gem::Installer end end + unless @build_root.nil? ++ require 'pathname' + @build_root = Pathname.new(@build_root).expand_path + @bin_dir = File.join(@build_root, options[:bin_dir] || Gem.bindir(@gem_home)) + @gem_home = File.join(@build_root,@gem_home) ++++++ rubygems-1.3.6_unpack.patch ++++++ Index: lib/rubygems/installer.rb =================================================================== --- lib/rubygems/installer.rb.orig +++ lib/rubygems/installer.rb @@ -142,7 +142,8 @@ class Gem::Installer end FileUtils.mkdir_p @gem_home - raise Gem::FilePermissionError, @gem_home unless File.writable? @gem_home + raise Gem::FilePermissionError, @gem_home unless + options[:unpack] or File.writable? @gem_home @spec = @format.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org