Compare commits
10 Commits
f6ddac085f
...
e066b14b9a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e066b14b9a | ||
|
|
4fa04e45d2 | ||
|
|
5e74954771 | ||
|
|
541bcc3633 | ||
|
|
db76909cc0 | ||
|
|
56ded8b813 | ||
|
|
a94edd63e4 | ||
|
|
da4ba7a075 | ||
|
|
f03c67e3c4 | ||
|
|
7b84b094d6 |
Binary file not shown.
BIN
XML-LibXML-2.0207.tar.gz
Normal file
BIN
XML-LibXML-2.0207.tar.gz
Normal file
Binary file not shown.
28
backport-0001-Add-meta-sniffing-warning.patch
Normal file
28
backport-0001-Add-meta-sniffing-warning.patch
Normal 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->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
|
||||
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> (and not newer <meta charset="utf-8">),
|
||||
+ else all non-ASCII will become entities.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
--
|
||||
2.39.0.windows.2
|
||||
|
||||
@ -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->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
|
||||
- <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.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
--
|
||||
2.39.0.windows.2
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user