From d832d77d6b7fa6c0f9764ca61e3ada053086d5e9 Mon Sep 17 00:00:00 2001 From: yangbo Date: Thu, 19 Jan 2023 10:43:49 +0800 Subject: [PATCH] Correct some broken grammar / spelling / syntax / etc Signed-off-by: yangbo --- ...e-broken-grammar-spelling-syntax-etc.patch | 33 +++++++++++++++++++ perl-XML-LibXML.spec | 6 +++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch diff --git a/backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch b/backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch new file mode 100644 index 0000000..812b70f --- /dev/null +++ b/backport-0002-Correct-some-broken-grammar-spelling-syntax-etc.patch @@ -0,0 +1,33 @@ +From af276c6137405ce2ab7ade54e74dbf81237f41e6 Mon Sep 17 00:00:00 2001 +From: Shlomi Fish +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->toString; + + toStringHTML 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 +- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> (and not newer <meta charset="utf-8">), ++ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> (rather than the newer <meta charset="utf-8">), + else all non-ASCII will become entities. + + +-- +2.39.0.windows.2 + diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index 916b9b1..95ed30b 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -1,6 +1,6 @@ Name: perl-XML-LibXML Version: 2.0207 -Release: 3 +Release: 4 Epoch: 1 Summary: Perl Binding for libxml2 License: (GPL+ or Artistic) and MIT @@ -25,6 +25,7 @@ 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 @@ -84,6 +85,9 @@ fi %{_mandir}/man*/* %changelog +* Thu Jan 19 2023 yangbo - 1:2.0207-4 +- Correct some broken grammar / spelling / syntax / etc + * Wed Jan 18 2023 yangbo - 1:2.0207-3 - Add sniffing warning -- Gitee