Hello community,

here is the log from the commit of package rubygem-nokogiri for 
openSUSE:Factory checked in at 2013-03-21 22:15:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-nokogiri (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-nokogiri.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-nokogiri", Maintainer is "jmassaguer...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-nokogiri/rubygem-nokogiri.changes        
2012-07-23 10:37:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-nokogiri.new/rubygem-nokogiri.changes   
2013-03-21 22:15:12.000000000 +0100
@@ -1,0 +2,72 @@
+Wed Mar 20 05:49:55 UTC 2013 - co...@suse.com
+
+- updated to version 1.5.8
+ * Bugfixes
+ 
+   * (JRuby) Fix EmptyStackException thrown by elements with xlink:href 
attributes and no base_uri #534, #805
+   * Fixes duplicate attributes issue introduced in 1.5.7. #865
+   * Allow use of a prefixed namespace on a root node using 
Nokogiri::XML::Builder #868
+
+-------------------------------------------------------------------
+Tue Mar 19 19:33:14 UTC 2013 - co...@suse.com
+
+- updated to version 1.5.7
+ * Features
+ 
+   * Windows support for Ruby 2.0.
+ 
+ * Bugfixes
+ 
+   * SAX::Parser.parse_io throw an error when used with lower case encoding. 
#828
+   * (JRuby) Java Nokogiri is finally green (passes all tests) under 1.8 and 
1.9 mode. High five everyone. #798, #705
+   * (JRuby) Nokogiri::XML::Reader broken (as a pull parser) on jruby - reads 
the whole XML document. #831
+   * (JRuby) JRuby hangs parsing "&". #837
+   * (JRuby) JRuby NPE parsing an invalid XML instruction. #838
+   * (JRuby) Node#content= incompatibility. #839
+   * (JRuby) to_xhtml doesn't print the last slash for self-closing tags in 
JRuby. #834
+   * (JRuby) Adding an EntityReference after a Text node mangles the entity in 
JRuby. #835
+   * (JRuby) JRuby version inconsistency: nil for empty attributes. #818
+   * CSS queries for classes (e.g., ".foo") now treat all whitespace 
identically. #854
+   * Namespace behavior cleaned up and made consistent between JRuby and MRI. 
#846, #801 (Thanks, Michael Klein!)
+   * (MRI) SAX parser handles empty processing instructions. #845
+
+-------------------------------------------------------------------
+Fri Dec 21 17:21:19 UTC 2012 - co...@suse.com
+
+- updated to version 1.5.6
+ 
+ * Features
+ 
+   * Improved performance of XML::Document#collect_namespaces. #761 (Thanks, 
Juergen Mangler!)
+   * New callback SAX::Document#processing_instruction (Thanks, Kitaiti 
Makoto!)
+   * Node#native_content= allows setting unescaped node contant. #768
+   * XPath lookup with namespaces supports symbol keys. #729 (Thanks, Ben 
Langfeld.)
+   * XML::Node#[]= stringifies values. #729 (Thanks, Ben Langfeld.)
+   * bin/nokogiri will process a document from $stdin
+   * bin/nokogiri -e will execute a program from the command line
+   * bin/nokogiri --version will print the Xerces and NekoHTML versions when 
ran with JRuby.
+ 
+ 
+ * Bugfixes
+   * Nokogiri now detects XSLT transform errors. #731 (Thanks, Justin 
Fitzsimmons!)
+   * Don't throw an Error when trying to replace top-level text node in 
DocumentFragment. #775
+   * Raise an ArgumentError if an invalid encoding is passed to the SAX 
parser. #756 (Thanks, Bradley Schaefer!)
+   * [JRuby] space prior to xml preamble causes nokogiri to fail parsing. 
(fixed along with #748) #790
+   * [JRuby] Fixed the bug Nokogiri::XML::Node#content inconsistency between 
Java and C. #794, #797
+   * [JRuby] raises INVALID_CHARACTER_ERR exception when EntityReference name 
starts with '#'. #719
+   * [JRuby] doesn't coerce namespaces out of strings on a direct subclass of 
Node. #715
+   * [JRuby] Node#content now renders newlines properly. #737 (Thanks, Piotr 
Szmielew!)
+   * [JRuby] Unknown namespace are ignore when the recover option is used. #748
+   * [JRuby] XPath queries for namespaces should not throw exceptions when 
called twice in a row. #764
+   * [JRuby] More consistent (with libxml2) whitespace formatting when 
emitting XML. #771
+   * [JRuby] namespaced attributes broken when appending raw xml to builder. 
#770
+   * [JRuby] Nokogiri::XML::Document#wrap raises undefined method `length' for 
nil:NilClass when trying to << to a node. #781
+   * [JRuby] Fixed "bad file descriptor" bug when closing open file 
descriptors. #495
+   * [JRuby] JRuby/CRuby incompatibility for attribute decorators. #785
+   * [JRuby] Issues parsing valid XML with no internal subset in the DTD. 
#547, #811
+   * [JRuby] Issues parsing valid node content when it contains colons. #728
+   * [JRuby] Correctly parse the doc type of html documents. #733
+   * [JRuby] Include dtd in the xml output when a builder is used with 
create_internal_subset. #751
+   * [JRuby] builder requires textwrappers for valid utf8 in jruby, not in 
mri. #784
+
+-------------------------------------------------------------------

Old:
----
  nokogiri-1.5.5.gem

New:
----
  nokogiri-1.5.8.gem

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

Other differences:
------------------
++++++ rubygem-nokogiri.spec ++++++
--- /var/tmp/diff_new_pack.KXDfVa/_old  2013-03-21 22:15:13.000000000 +0100
+++ /var/tmp/diff_new_pack.KXDfVa/_new  2013-03-21 22:15:13.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-nokogiri
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -15,39 +15,40 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           rubygem-nokogiri
-Version:        1.5.5
+Version:        1.5.8
 Release:        0
 %define mod_name nokogiri
 %define mod_full_name %{mod_name}-%{version}
-#
-Group:          Development/Languages/Ruby
-License:        MIT
-#
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  libxml2-devel libxslt-devel
-BuildRequires:  rubygems_with_buildroot_patch
-%rubygems_requires
-Provides:       rubygem-%{mod_name}-1_5 = %{version}-%{release}
-#
+BuildRequires:  ruby-macros >= 1
 Requires:       ruby >= 1.8.7
 BuildRequires:  ruby-devel >= 1.8.7
-#
+BuildRequires:  rubygem(rdoc) > 3.10
+# MANUAL
+BuildRequires:  libxml2-devel libxslt-devel
 Url:            http://nokogiri.org
-Source:         %{mod_full_name}.gem
-#
-Summary:        Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Summary:        Nokogiri is an HTML, XML, SAX, and Reader parser
+License:        MIT
+Group:          Development/Languages/Ruby
+%define mod_branch -1.5.8
+%define mod_weight 1
+PreReq:         update-alternatives
+
 %description
-Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser.  Among Nokogiri's
+Nokogiri is an HTML, XML, SAX, and Reader parser.  Among Nokogiri's
 many features is the ability to search documents via XPath or CSS3 selectors.
-
-XML is like violence - if it doesn’t solve your problems, you are not using
+XML is like violence - if it doesn't solve your problems, you are not using
 enough of it.
 
 %package doc
 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.
@@ -56,21 +57,36 @@
 Summary:        Test suite for %{mod_name}
 Group:          Development/Languages/Ruby
 Requires:       %{name} = %{version}
+
 %description testsuite
 Test::Unit or RSpec files, useful for developers.
 
 %prep
+#gem_unpack
+#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
+#gem_build
+
 %build
+
 %install
-%gem_install %{S:0}
+%gem_install -f
 %gem_cleanup
+mv %{buildroot}%{_bindir}/nokogiri{,%{mod_branch}}
+ln -s nokogiri%{mod_branch} %{buildroot}%{_bindir}/nokogiri
 
-%clean
-%{__rm} -rf %{buildroot}
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/nokogiri nokogiri %{_bindir}/nokogiri%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove nokogiri 
%{_bindir}/nokogiri%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/nokogiri
+%{_bindir}/nokogiri%{mod_branch}
+%ghost %{_bindir}/nokogiri
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to