Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e066b14b9a
!15 Correct some broken grammar / spelling / syntax / etc
From: @yangbo2022 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-19 11:45:28 +00:00
yangbo
4fa04e45d2 Correct some broken grammar / spelling / syntax / etc
Signed-off-by: yangbo <yangbo1@xfusion.com>
2023-01-19 11:14:58 +08:00
openeuler-ci-bot
5e74954771
!11 Add <meta> sniffing warning
From: @yangbo2022 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-18 09:29:48 +00:00
yangbo
541bcc3633 Add <meta> sniffing warning
Signed-off-by: yangbo <yangbo1@xfusion.com>
2023-01-18 11:12:45 +08:00
openeuler-ci-bot
db76909cc0
!8 [sync] PR-7: 【轻量级 PR】:use macros package_help
From: @openeuler-sync-bot 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2022-10-31 08:47:14 +00:00
const
56ded8b813 use macros package_help
Signed-off-by: const <jiangchuangang@huawei.com>
(cherry picked from commit ab13c5cc63f7d46d358211bcd4f963047f30d8c2)
2022-10-31 09:32:41 +08:00
openeuler-ci-bot
a94edd63e4 !6 update version to 2.0207
Merge pull request !6 from xinyingchao/openEuler-22.03-LTS-Next
2021-12-28 02:03:36 +00:00
renmingshuai
da4ba7a075 update version to 2.0207 2021-12-21 16:50:18 +08:00
openeuler-ci-bot
f03c67e3c4 !2 update to 2.0205
Merge pull request !2 from phanddy/master
2020-08-18 17:37:55 +08:00
zhanliwen
7b84b094d6 update to 2.0205 2020-08-05 17:22:29 +08:00
5 changed files with 86 additions and 10 deletions

Binary file not shown.

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

Binary file not shown.

View File

@ -0,0 +1,28 @@
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

@ -0,0 +1,33 @@
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.0132
Release: 5
Version: 2.0207
Release: 4
Epoch: 1
Summary: Perl Binding for libxml2
License: (GPL+ or Artistic) and MIT
@ -16,24 +16,25 @@ BuildRequires: perl(Encode), perl(Exporter), perl(IO::File), perl(IO::Handle),
BuildRequires: perl(parent), perl(Scalar::Util), perl(Tie::Hash), perl(XML::NamespaceSupport)
BuildRequires: perl(XML::SAX::Base), perl(XML::SAX::DocumentLocator), perl(XML::SAX::Exception)
BuildRequires: perl(Errno), perl(locale), perl(POSIX), perl(Test::More), perl(XML::SAX)
BuildRequires: perl(XML::SAX::ParserFactory), perl(URI::file), perl(utf8)
BuildRequires: perl(XML::SAX::ParserFactory), perl(URI::file), perl(utf8), perl(Alien::Base::Wrapper)
BuildRequires: perl(Alien::Libxml2)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)), perl-interpreter
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
manipulating XML files and allows Perl programmers to use the highly capable
validating XML parser and the high performance DOM implementation.
%package help
Summary: man files for perl-XML-LibXML
Requires: man
%description help
This package includes man files for perl-XML-LibXML.
%package_help
%prep
%autosetup -n XML-LibXML-%{version} -p1
@ -42,7 +43,6 @@ for i in Changes; do
/usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i
done
rm -r inc/*
sed -i -e '/^inc\// d' MANIFEST
%build
@ -81,5 +81,20 @@ fi
%{_mandir}/man*/*
%changelog
* Thu Jan 19 2023 yangbo <yangbo1@xfusion.com> - 1:2.0207-4
- Correct some broken grammar / spelling / syntax / etc
* Wed Jan 18 2023 yangbo <yangbo1@xfusion.com> - 1:2.0207-3
- Add <meta> sniffing warning
* Tue Oct 25 2022 jiangchuangang <jiangchuangang@huawei.com> - 1:2.0207-2
- use macros package_help
* Tue Dec 21 2021 yuanxin <yuanxin24@huawei.com> - 1:2.0207-1
- update version to 2.0207
* Wed Jul 22 2020 dingyue <dingyue5@huawei.com> - 1:2.0205-1
- bump to version 2.0205
* Tue Nov 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:2.0132-5
- Package init