File project.diff of Package rubygem-json

--- rubygem-json.changes.orig
+++ rubygem-json.changes
@@ -1,4 +1,24 @@
 -------------------------------------------------------------------
+Wed Feb 15 14:43:12 UTC 2012 - saschpe@suse.de
+
+- Update to version 1.6.5:
+  * Fixed a bug that shows up when using optimisation under GCC 4.7. 
+- Changes from version 1.6.4:
+  * Patches that improve speed on JRuby contributed
+  * Support object_class/array_class with duck typed hash/array.
+- Changes from version 1.6.3:
+  * Let JSON.load('') return nil as well to make mysql text columns (default to
+    '') work better for serialization.
+- Changes from version 1.6.2:
+  * Add support for OpenStruct and BigDecimal.
+  * Fix bug when parsing nil in quirks_mode.
+  * Make JSON.dump and JSON.load methods better cooperate with Rails' serialize
+    method. Just use: serialize :value, JSON
+  * Fix bug with time serialization concerning nanoseconds. Thanks for the
+    patch go to Josh Partlow (jpartlow@github).
+  * Improve parsing speed for JSON numbers (integers and floats)
+
+-------------------------------------------------------------------
 Wed Dec 14 19:05:46 UTC 2011 - jreidinger@suse.com
 
 - move benchmarks to doc
--- rubygem-json.spec.orig
+++ rubygem-json.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-json
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,8 @@
 #
 
 # norootforbuild
-
-
 Name:           rubygem-json
-Version:        1.6.1
+Version:        1.6.5
 Release:        0
 %define mod_name json
 %define mod_full_name %{mod_name}-%{version}
@@ -28,8 +26,8 @@ Group:          Development/Languages/Ru
 License:        GPL-2.0+ or Ruby
 #
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  fastjar fdupes
 BuildRequires:  rubygems_with_buildroot_patch
+Provides:       rubygem(1.8:json) = %version
 %rubygems_requires
 Provides:       rubygem-%{mod_name}-1   = %{version}-%{release}
 Provides:       rubygem-%{mod_name}-1_6 = %{version}-%{release}
@@ -38,7 +36,6 @@ Url:            http://flori.github.com/
 Source:         %{mod_full_name}.gem
 #
 Summary:        JSON Implementation for Ruby
-
 %description
 This is a JSON implementation as a Ruby extension in C.
 
@@ -46,28 +43,15 @@ This is a JSON implementation as a Ruby
 Summary:        RDoc documentation for %{mod_name}
 Group:          Development/Languages/Ruby
 Requires:       %{name} = %{version}
-
 %description doc
 Documentation generated at gem installation time.
 Usually in RDoc and RI formats.
 
-%package testsuite
-Summary:        Test suite for %{mod_name}
-Group:          Development/Languages/Ruby
-Requires:       %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
-
-
 %prep
-
 %build
-
 %install
 %gem_install %{S:0}
 %gem_cleanup
-%fdupes %{buildroot}
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -77,16 +61,9 @@ Test::Unit or RSpec files, useful for de
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/tests
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/benchmarks
 
 %files doc
 %defattr(-,root,root,-)
 %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
-%doc %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/benchmarks
-
-%files testsuite
-%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/tests
 
 %changelog
openSUSE Build Service is sponsored by