Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-nokogiri for
openSUSE:Factory checked in at 2022-01-27 23:16:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-nokogiri (Old)
and /work/SRC/openSUSE:Factory/.rubygem-nokogiri.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-nokogiri"
Thu Jan 27 23:16:26 2022 rev:59 rq:949111 version:1.13.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-nokogiri/rubygem-nokogiri.changes
2021-10-12 21:48:54.711833801 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-nokogiri.new.1898/rubygem-nokogiri.changes
2022-01-27 23:16:42.795083310 +0100
@@ -1,0 +2,140 @@
+Tue Jan 25 18:12:51 UTC 2022 - Marcus Rueckert <[email protected]>
+
+- Update to 1.13.1
+ - Fixed
+ - Fix Nokogiri::XSLT.quote_params regression in v1.13.0 that
+ raised an exception when non-string stylesheet parameters
+ were passed. Non-string parameters (e.g., integers and
+ symbols) are now explicitly supported and both keys and
+ values will be stringified with #to_s. [#2418]
+ - Fix CSS selector query regression in v1.13.0 that raised an
+ Nokogiri::XML::XPath::SyntaxError when parsing XPath
+ attributes mixed into the CSS query. Although this mash-up of
+ XPath and CSS syntax previously worked unintentionally, it is
+ now an officially supported feature and is documented as
+ such. [#2419]
+- Changes from 1.13.0
+ - This release ends support for:
+ - Ruby 2.5, for which official support ended 2021-03-31.
+ - JRuby 9.2, which is a Ruby 2.5-compatible release.
+ - Faster, more reliable installation: Native Gem for ARM64 Linux
+
+ - This version of Nokogiri ships experimental native gem support
+ for the aarch64-linux platform, which should support AWS
+ Graviton and other ARM Linux platforms. We don't yet have CI
+ running for this platform, and so we're interested in hearing
+ back from y'all whether this is working, and what problems
+ you're seeing. Please send us feedback here: Feedback: Have you
+ used the aarch64-linux native gem?
+
+ - Publishing
+ - This version of Nokogiri opts-in to the "MFA required to publish"
+ setting on Rubygems.org. This and all future Nokogiri gem files
+ must be published to Rubygems by an account with multi-factor
+ authentication enabled. This should provide some additional
+ protection against supply-chain attacks.
+
+ A related discussion about Trust exists at #2357 in which I
+ invite you to participate if you have feelings or opinions on
+ this topic.
+
+ - Dependencies
+ - [CRuby] Vendored libiconv is updated from 1.15 to 1.16. (Note
+ that libiconv is only redistributed in the native windows and
+ native darwin gems, see LICENSE-DEPENDENCIES.md for more
+ information.) [#2206]
+ - [CRuby] Upgrade mini_portile2 dependency from ~> 2.6.1 to ~>
+ 2.7.0. ("ruby" platform gem only.)
+ - Improved
+ - {XML,HTML4}::DocumentFragment constructors all now take an
+ optional parse options parameter or block (similar to
+ Document constructors). [#1692] (Thanks, @JackMc!)
+ - Nokogiri::CSS.xpath_for allows an XPathVisitor to be
+ injected, for finer-grained control over how CSS queries are
+ translated into XPath.
+ - [CRuby] XML::Reader#encoding will return the encoding
+ detected by the parser when it's not passed to the
+ constructor. [#980]
+ - [CRuby] Handle abruptly-closed HTML comments as recommended
+ by WHATWG. (Thanks to tehryanx for reporting!)
+ - [CRuby] Node#line is no longer capped at 65535. libxml v2.9.0
+ and later support a new parse option, exposed as
+ Nokogiri::XML::ParseOptions::PARSE_BIG_LINES, which is turned
+ on by default in ParseOptions::DEFAULT_{XML,XSLT,HTML,SCHEMA}
+ (Note that JRuby already supported large line numbers.)
+ [#1764, #1493, #1617, #1505, #1003, #533]
+ - [CRuby] If a cycle is introduced when reparenting a node
+ (i.e., the node becomes its own ancestor), a RuntimeError is
+ raised. libxml2 does no checking for this, which means cycles
+ would otherwise result in infinite loops on subsequent
+ operations. (Note that JRuby already did this.) [#1912]
+ - [CRuby] Source builds will download zlib and libiconv via
+ HTTPS. ("ruby" platform gem only.) [#2391] (Thanks,
+ @jmartin-r7!)
+ - [JRuby] Node#line behavior has been modified to return the
+ line number of the node in the final DOM structure. This
+ behavior is different from CRuby, which returns the node's
+ position in the input string. Ideally the two implementations
+ would be the same, but at least is now officially documented
+ and tested. The real-world impact of this change is that the
+ value returned in JRuby is greater by 1 to account for the
+ XML prolog in the output. [#2380] (Thanks, @dabdine!)
+ - Fixed
+ - CSS queries on HTML5 documents now correctly match foreign
+ elements (SVG, MathML) when namespaces are not specified in
+ the query. [#2376]
+ - XML::Builder blocks restore context properly when exceptions
+ are raised. [#2372] (Thanks, @ric2b and @rinthedev!)
+ - The Nokogiri::CSS::Parser cache now uses the XPathVisitor
+ configuration as part of the cache key, preventing incorrect
+ cache results from being returned when multiple XPathVisitor
+ options are being used.
+ - Error recovery from in-context parsing (e.g., Node#parse) now
+ always uses the correct DocumentFragment class. Previously
+ Nokogiri::HTML4::DocumentFragment was always used, even for
+ XML documents. [#1158]
+ - DocumentFragment#> now works properly, matching a CSS
+ selector against only the fragment roots. [#1857]
+ - XML::DocumentFragment#errors now correctly contains any
+ parsing errors encountered. Previously this was always empty.
+ (Note that HTML::DocumentFragment#errors already did this.)
+ - [CRuby] Fix memory leak in Document#canonicalize when
+ inclusive namespaces are passed in. [#2345]
+ - [CRuby] Fix memory leak in Document#canonicalize when an
+ argument type error is raised. [#2345]
+ - [CRuby] Fix memory leak in EncodingHandler where iconv
+ handlers were not being cleaned up. [#2345]
+ - [CRuby] Fix memory leak in XPath custom handlers where string
+ arguments were not being cleaned up. [#2345]
+ - [CRuby] Fix memory leak in Reader#base_uri where the string
+ returned by libxml2 was not freed. [#2347]
+ - [JRuby] Deleting a Namespace from a NodeSet no longer
+ modifies the href to be the default namespace URL.
+ - [JRuby] Fix XHTML formatting of closing tags for
+ non-container elements. [#2355]
+ - Deprecated
+ - Passing a Nokogiri::XML::Node as the second parameter to
+ Node.new is deprecated and will generate a warning. This
+ parameter should be a kind of Nokogiri::XML::Document. This
+ will become an error in a future version of Nokogiri. [#975]
+ - Nokogiri::CSS::Parser, Nokogiri::CSS::Tokenizer, and
+ Nokogiri::CSS::Node are now internal-only APIs that are no
+ longer documented, and should not be considered stable. With
+ the introduction of XPathVisitor injection into
+ Nokogiri::CSS.xpath_for there should be no reason to rely on
+ these internal APIs.
+ - CSS-to-XPath utility classes
+ Nokogiri::CSS::XPathVisitorAlwaysUseBuiltins and
+ XPathVisitorOptimallyUseBuiltins are deprecated. Prefer
+ Nokogiri::CSS::XPathVisitor with appropriate constructor
+ arguments. These classes will be removed in a future version
+ of Nokogiri.
+
+-------------------------------------------------------------------
+Tue Jan 25 17:08:25 UTC 2022 - Marcus Rueckert <[email protected]>
+
+- make it build with newer mini_portile2 versions
+- make sure we also patch the required mini_portile2 version in the
+ build tool
+
+-------------------------------------------------------------------
Old:
----
nokogiri-1.12.5.gem
New:
----
nokogiri-1.13.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-nokogiri.spec ++++++
--- /var/tmp/diff_new_pack.1e4ROz/_old 2022-01-27 23:16:43.511078364 +0100
+++ /var/tmp/diff_new_pack.1e4ROz/_new 2022-01-27 23:16:43.519078308 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-nokogiri
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,22 +24,22 @@
#
Name: rubygem-nokogiri
-Version: 1.12.5
+Version: 1.13.1
Release: 0
%define mod_name nokogiri
%define mod_full_name %{mod_name}-%{version}
# MANUAL
-%if 0%{?suse_version} && 0%{?suse_version} < 1330
-%define rb_build_versions ruby25 ruby26
-%define rb_build_ruby_abis ruby:2.5.0 ruby:2.6.0
+%if 0%{?suse_version} && 0%{?suse_version} < 1550
+%define rb_build_versions ruby27 ruby30
+%define rb_build_ruby_abis ruby:2.7.0 ruby:3.0.0
%endif
-BuildRequires: %{rubygem mini_portile2:2.6}
+BuildRequires: %{rubygem mini_portile2 >= 2.7}
BuildRequires: %{rubygem pkg-config}
BuildRequires: libxml2-devel >= 2.6.21
BuildRequires: libxslt-devel
# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{rubydevel >= 2.5.0}
+BuildRequires: %{rubydevel >= 2.7.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
@@ -68,7 +68,20 @@
%install
# MANUAL
%gem_unpack
-sed -i -e 's/.*mini_portile.*//g' %{mod_full_name}.gemspec
+perl -p -i.back -e 's/.*mini_portile.*//g' %{mod_full_name}.gemspec
+diff -urN %{mod_full_name}.gemspec{.back,} ||:
+rm -f %{mod_full_name}.gemspec.back
+
+MINI_PORTILE2_VERSION="2.7.0"
+
+if grep -q "~> ${MINI_PORTILE2_VERSION}" ext/nokogiri/extconf.rb ; then
+ perl -p -i.back -e 's/~> ${MINI_PORTILE2_VERSION}/>=
${MINI_PORTILE2_VERSION}/g' ext/nokogiri/extconf.rb
+ diff -urN ext/nokogiri/extconf.rb{.back,} ||:
+ rm -f ext/nokogiri/extconf.rb.back
+else
+ echo "Check which version of mini_portile2 we need to build nokogiri now"
+ exit 1
+fi
find -type f -print0 | xargs -0 touch -r %{S:0}
%gem_build
cd ..
++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.1e4ROz/_old 2022-01-27 23:16:43.559078032 +0100
+++ /var/tmp/diff_new_pack.1e4ROz/_new 2022-01-27 23:16:43.559078032 +0100
@@ -16,14 +16,14 @@
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
:preamble: |-
- %if 0%{?suse_version} && 0%{?suse_version} < 1330
- %define rb_build_versions ruby25 ruby26
- %define rb_build_ruby_abis ruby:2.5.0 ruby:2.6.0
+ %if 0%{?suse_version} && 0%{?suse_version} < 1550
+ %define rb_build_versions ruby27 ruby30
+ %define rb_build_ruby_abis ruby:2.7.0 ruby:3.0.0
%endif
+ BuildRequires: %{rubygem mini_portile2 >= 2.7}
+ BuildRequires: %{rubygem pkg-config}
BuildRequires: libxml2-devel >= 2.6.21
BuildRequires: libxslt-devel
- BuildRequires: %{rubygem pkg-config}
- BuildRequires: %{rubygem mini_portile2:2.6}
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
@@ -37,7 +37,20 @@
# ## used by gem2rpm
:pre_install: |-
%gem_unpack
- sed -i -e 's/.*mini_portile.*//g' %{mod_full_name}.gemspec
+ perl -p -i.back -e 's/.*mini_portile.*//g' %{mod_full_name}.gemspec
+ diff -urN %{mod_full_name}.gemspec{.back,} ||:
+ rm -f %{mod_full_name}.gemspec.back
+
+ MINI_PORTILE2_VERSION="2.7.0"
+
+ if grep -q "~> ${MINI_PORTILE2_VERSION}" ext/nokogiri/extconf.rb ; then
+ perl -p -i.back -e 's/~> ${MINI_PORTILE2_VERSION}/>=
${MINI_PORTILE2_VERSION}/g' ext/nokogiri/extconf.rb
+ diff -urN ext/nokogiri/extconf.rb{.back,} ||:
+ rm -f ext/nokogiri/extconf.rb.back
+ else
+ echo "Check which version of mini_portile2 we need to build nokogiri now"
+ exit 1
+ fi
find -type f -print0 | xargs -0 touch -r %{S:0}
%gem_build
cd ..
++++++ nokogiri-1.12.5.gem -> nokogiri-1.13.1.gem ++++++
/work/SRC/openSUSE:Factory/rubygem-nokogiri/nokogiri-1.12.5.gem
/work/SRC/openSUSE:Factory/.rubygem-nokogiri.new.1898/nokogiri-1.13.1.gem
differ: char 133, line 1