Hello community,

here is the log from the commit of package rubygems for openSUSE:Factory 
checked in at 2012-02-16 16:23:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygems (Old)
 and      /work/SRC/openSUSE:Factory/.rubygems.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygems", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygems/rubygems.changes        2011-09-23 
12:45:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygems.new/rubygems.changes   2012-02-16 
16:23:40.000000000 +0100
@@ -1,0 +2,47 @@
+Tue Jan 24 11:09:36 UTC 2012 - [email protected]
+
+- update to 1.8.15
+  see /usr/share/doc/packages/rubygems/History.txt for details
+- re-rolled the buildroot patch:
+  old: rubygems-1.5.0_buildroot.patch
+  new: rubygems-1.8.15_buildroot.patch
+- drop f379d5bace68b10622d01059a2d3b4caca4dd5a8.patch: included
+  upstream
+- make sure the hash_value too big patch is also included in the
+  src rpm on newer distributions
+
+-------------------------------------------------------------------
+Wed Dec 14 19:54:53 UTC 2011 - [email protected]
+
+- move tests to own subpackage. It is not user documentation 
+
+-------------------------------------------------------------------
+Wed Mar 30 18:47:43 UTC 2011 - [email protected]
+
+- fix "bignum too big to convert into long'" error with SLES
+  and openSUSE 11.2 ruby
+  (see http://revision-zero.org/history-of-a-bug)
+
+-------------------------------------------------------------------
+Thu Feb 24 10:52:42 UTC 2011 - [email protected]
+
+- added patch f379d5bace68b10622d01059a2d3b4caca4dd5a8.patch:
+  dont silently ignore errors from building documentation.
+
+-------------------------------------------------------------------
+Fri Feb 11 16:44:01 UTC 2011 - [email protected]
+
+- update to version 1.5.2
+  * Fixed <tt>gem update --system</tt>.  RubyGems can now update
+    itself again.
+- update to version 1.5.1
+  * Added ability to do gem update --system X.Y.Z.
+  * Scrub !!null YAML from 1.9.2 (install and build).
+  * Added missing requires for user_interaction.
+  * Wrote option processing tests for gem update.
+  * Updated upgrading doco for new gem update --system option.
+  * Fixed SilentUI for cygwin; try /dev/null first then fall back
+    to NUL.
+  * RubyGems now enforces ruby 1.8.7 or newer.
+
+-------------------------------------------------------------------

Old:
----
  rubygems-1.5.0.tar.bz2
  rubygems-1.5.0_buildroot.patch

New:
----
  hashvalue_too_big.patch
  rubygems-1.8.15.tar.bz2
  rubygems-1.8.15_buildroot.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygems.spec ++++++
--- /var/tmp/diff_new_pack.tPLM4X/_old  2012-02-16 16:23:40.000000000 +0100
+++ /var/tmp/diff_new_pack.tPLM4X/_new  2012-02-16 16:23:40.000000000 +0100
@@ -19,7 +19,7 @@
 
 
 Name:           rubygems
-Version:        1.5.0
+Version:        1.8.15
 Release:        1
 #
 License:        Other uncritical OpenSource License
@@ -36,16 +36,30 @@
 Source1:        gem_build_cleanup
 Source2:        rubygems-rpmlintrc
 Source3:        rubygems.macros
-Patch:          rubygems-1.5.0_buildroot.patch
+Patch:          rubygems-1.8.15_buildroot.patch
+# SLES and openSUSE 11.2 have ruby 1.8.7p72 and some gems fail to build
+# see http://revision-zero.org/history-of-a-bug
+Patch2:         hashvalue_too_big.patch
 Summary:        The Ruby standard for publishing and managing third party 
libraries
 
 %description
 RubyGems is the Ruby standard for publishing and managing third party
 libraries.
 
+%package testsuite
+Summary:        Test suite for rubygems. Useful mainly for developers
+Group:          Development/Languages/Ruby
+Requires:       %{name} = %{version}
+
+%description testsuite
+Tests for rubygems. Useful for developers to check changes againts testsuite.
+
 %prep
 %setup -n %{name}-%{version}
 %patch
+#if 0%{?suse_version} < 1130
+%patch2
+#endif
 
 %build
 
@@ -68,8 +82,7 @@
 %files
 %defattr(-,root,root)
 %config(noreplace) /etc/rpm/macros.rubygems
-%doc ChangeLog GPL.txt LICENSE.txt README.rdoc History.txt
-%doc test/ pkgs/
+%doc LICENSE.txt README.rdoc History.txt
 %{_bindir}/gem_build_cleanup
 %{_bindir}/gem
 %dir %{_libdir}/ruby/vendor_ruby/%{rb_ver}/rbconfig/
@@ -83,4 +96,8 @@
 %dir %{_libdir}/ruby/gems/%{rb_ver}/gems/
 %dir %{_libdir}/ruby/gems/%{rb_ver}/specifications/
 
+%files testsuite
+%defattr(-,root,root)
+%doc test
+
 %changelog

++++++ hashvalue_too_big.patch ++++++
diff -wruN -x '*~' ../orig-rubygems-1.5.2/lib/rubygems/requirement.rb 
./lib/rubygems/requirement.rb
--- ../orig-rubygems-1.5.2/lib/rubygems/requirement.rb  2011-01-21 
22:51:37.000000000 +0100
+++ ./lib/rubygems/requirement.rb       2011-03-30 20:26:47.000000000 +0200
@@ -106,7 +106,7 @@
   end
 
   def hash # :nodoc:
-    requirements.hash
+    requirements.inject(0) { |h, r| h ^ r.first.hash ^ r.last.hash}
   end
 
   def marshal_dump # :nodoc:
++++++ rubygems-1.5.0.tar.bz2 -> rubygems-1.8.15.tar.bz2 ++++++
++++ 26199 lines of diff (skipped)

++++++ rubygems-1.5.0_buildroot.patch -> rubygems-1.8.15_buildroot.patch ++++++
--- /work/SRC/openSUSE:Factory/rubygems/rubygems-1.5.0_buildroot.patch  
2011-09-23 12:45:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygems.new/rubygems-1.8.15_buildroot.patch    
2012-02-16 16:23:40.000000000 +0100
@@ -2,7 +2,7 @@
 ===================================================================
 --- lib/rubygems/dependency_installer.rb.orig
 +++ lib/rubygems/dependency_installer.rb
-@@ -68,6 +68,7 @@ class Gem::DependencyInstaller
+@@ -69,6 +69,7 @@ class Gem::DependencyInstaller
      @installed_gems = []
  
      @install_dir = options[:install_dir] || Gem.dir
@@ -10,22 +10,22 @@
      @cache_dir = options[:cache_dir] || @install_dir
  
      # Set with any errors that SpecFetcher finds while search through
-@@ -276,6 +277,7 @@ class Gem::DependencyInstaller
+@@ -290,6 +291,7 @@ class Gem::DependencyInstaller
                                  :format_executable   => @format_executable,
                                  :ignore_dependencies => @ignore_dependencies,
                                  :install_dir         => @install_dir,
 +                                :build_root          => @build_root,
                                  :security_policy     => @security_policy,
-                                 :source_index        => @source_index,
                                  :user_install        => @user_install,
+                                 :wrappers            => @wrappers
 Index: lib/rubygems/installer.rb
 ===================================================================
 --- lib/rubygems/installer.rb.orig
 +++ lib/rubygems/installer.rb
-@@ -402,6 +402,15 @@ class Gem::Installer
+@@ -427,6 +427,15 @@ class Gem::Installer
+     @wrappers            = options[:wrappers]
      @bin_dir             = options[:bin_dir]
      @development         = options[:development]
-     @source_index        = options[:source_index]
 +    @build_root          = options[:build_root]
 +
 +    unless @build_root.nil?
@@ -35,9 +35,9 @@
 +      @gem_home = File.join(@build_root,@gem_home)
 +      alert_warning "You build with buildroot.\n  Build root: 
#{@build_root}\n  Bin dir: #{@bin_dir}\n  Gem home: #{@gem_home}"
 +    end
-   end
  
-   def load_gem_file
+     raise "NOTE: Installer option :source_index is dead" if
+       options[:source_index]
 Index: lib/rubygems/install_update_options.rb
 ===================================================================
 --- lib/rubygems/install_update_options.rb.orig

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to