update to 2.0209

This commit is contained in:
lyn1001 2023-08-10 17:38:55 +08:00
parent f8f63108c2
commit 36682e485d
5 changed files with 5 additions and 66 deletions

Binary file not shown.

BIN
XML-LibXML-2.0209.tar.gz Normal file

Binary file not shown.

View File

@ -1,28 +0,0 @@
From 8465180e379bb0873c248afc937bae9aa03e0a60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A9=8D=E4=B8=B9=E5=B0=BC=20Dan=20Jacobson?=
<jidanni@jidanni.org>
Date: Mon, 21 Jun 2021 22:45:47 +0800
Subject: [PATCH 01/11] Add <meta> sniffing warning
---
docs/libxml.dbk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/libxml.dbk b/docs/libxml.dbk
index c7a4208..b307510 100644
--- a/docs/libxml.dbk
+++ b/docs/libxml.dbk
@@ -2598,7 +2598,9 @@ print {$out_fh} $doc-&gt;toString;</programlisting>
</funcsynopsis>
<para><emphasis>toStringHTML</emphasis> serialize the tree to a byte string in the document encoding as HTML. With this method indenting is automatic and managed by
- libxml2 internally.</para>
+ libxml2 internally. Note the string must contain
+ &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt; (and not newer &lt;meta charset="utf-8"&gt;),
+ else all non-ASCII will become entities.</para>
</listitem>
</varlistentry>
--
2.39.0.windows.2

View File

@ -1,33 +0,0 @@
From af276c6137405ce2ab7ade54e74dbf81237f41e6 Mon Sep 17 00:00:00 2001
From: Shlomi Fish <shlomif@shlomifish.org>
Date: Thu, 24 Jun 2021 15:47:10 +0300
Subject: [PATCH 02/11] Correct some broken grammar / spelling / syntax / etc.
See https://duckduckgo.com/?q=english+grammar&ia=web ;
https://duckduckgo.com/?q=english+spelling&ia=web and for the lighter side:
* https://www.youtube.com/watch?v=8Gv0H-vPoDc
* https://shlomif.livejournal.com/53966.html
* http://i.imgur.com/HL1ZR.jpg .
---
docs/libxml.dbk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/libxml.dbk b/docs/libxml.dbk
index b307510..598554d 100644
--- a/docs/libxml.dbk
+++ b/docs/libxml.dbk
@@ -2599,7 +2599,7 @@ print {$out_fh} $doc-&gt;toString;</programlisting>
<para><emphasis>toStringHTML</emphasis> serialize the tree to a byte string in the document encoding as HTML. With this method indenting is automatic and managed by
libxml2 internally. Note the string must contain
- &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt; (and not newer &lt;meta charset="utf-8"&gt;),
+ &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt; (rather than the newer &lt;meta charset="utf-8"&gt;),
else all non-ASCII will become entities.</para>
</listitem>
</varlistentry>
--
2.39.0.windows.2

View File

@ -1,6 +1,6 @@
Name: perl-XML-LibXML
Version: 2.0207
Release: 4
Version: 2.0209
Release: 1
Epoch: 1
Summary: Perl Binding for libxml2
License: (GPL+ or Artistic) and MIT
@ -24,9 +24,6 @@ Requires(preun): perl-interpreter
Provides: perl-XML-LibXML-Common = %{version}
Obsoletes: perl-XML-LibXML-Common <= 0.13
Patch0001: backport-0001-Add-meta-sniffing-warning.patch
Patch0002: backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch
%description
This module is Perl Binding for libxml2, which implements a Perl interface to
the GNOME libxml2 library. This module provides interfaces for parsing and
@ -85,6 +82,9 @@ fi
%{_mandir}/man*/*
%changelog
* Thu Aug 10 2023 liyanan <thistleslyn@163.com> - 1:2.0209-1
- Update to 2.0209
* Thu Jan 19 2023 yangbo <yangbo1@xfusion.com> - 1:2.0207-4
- Correct some broken grammar / spelling / syntax / etc