Compare commits
3 Commits
Author | SHA256 | Date | |
---|---|---|---|
6f8ead14b3 | |||
7903f0e3cc | |||
57008c1597 |
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
## Build Results
|
||||||
|
|
||||||
|
Current state of perl in openSUSE:Factory is
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The current state of perl in the devel project build (devel:languages:perl)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
BIN
XML-Twig-3.53.tar.gz
(Stored with Git LFS)
BIN
XML-Twig-3.53.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
XML-Twig-3.54.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-Twig-3.54.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -9,8 +9,8 @@ Bug-Debian: https://bugs.debian.org/842893
|
|||||||
Author: gregor herrmann <gregoa@debian.org>
|
Author: gregor herrmann <gregoa@debian.org>
|
||||||
Last-Update: 2019-03-30
|
Last-Update: 2019-03-30
|
||||||
|
|
||||||
--- a/Twig_pm.slow
|
--- a/lib/XML/Twig.pm
|
||||||
+++ b/Twig_pm.slow
|
+++ b/lib/XML/Twig.pm
|
||||||
@@ -10561,6 +10561,15 @@
|
@@ -10561,6 +10561,15 @@
|
||||||
pubid => <pubid> }). Yes, this is a bit of a hack, but it's useful in some
|
pubid => <pubid> }). Yes, this is a bit of a hack, but it's useful in some
|
||||||
cases.
|
cases.
|
||||||
|
@@ -1,3 +1,50 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 15:33:33 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
- Updated perl-XML-Twig-CVE-2016-9180.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 14:57:47 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 3.540.0 (3.54)
|
||||||
|
see /usr/share/doc/packages/perl-XML-Twig/Changes
|
||||||
|
|
||||||
|
|
||||||
|
3.54 2025-06-11 minor maintenance release
|
||||||
|
- changed the minimum version of Perl to 5.10
|
||||||
|
That should be old enough: "On December 18, 2007, the 20th
|
||||||
|
anniversary of Perl 1.0, Perl 5.10. 0 was released."
|
||||||
|
- fixed the "build" system
|
||||||
|
moved .pm files in the usual place for CPAN modules (lib/)
|
||||||
|
used PM_FILTER in Makefile.PL to inline some method calls
|
||||||
|
thanks to Daniel Macks for having a look at this and suggesting most
|
||||||
|
of the improvements
|
||||||
|
- fixed del_atts/set_att broke keep_atts_order
|
||||||
|
see https://stackoverflow.com/questions/79369132
|
||||||
|
- fixed #TEXT handlers not being called when set using setTwigHandlers
|
||||||
|
see https://github.com/mirod/xmltwig/issues/36
|
||||||
|
and fixed bugs in triggering #TEXT handlers in mixed content
|
||||||
|
- fixed test special casing "SA" PERL_UNICODE instead of looking for
|
||||||
|
S and A in the variable
|
||||||
|
see https://github.com/mirod/xmltwig/issues/32
|
||||||
|
- fixed docs for comment processing
|
||||||
|
see https://github.com/mirod/xmltwig/issues/31
|
||||||
|
- documentation cleanup
|
||||||
|
thanks to chrispitude for the massive cleanup in
|
||||||
|
https://github.com/mirod/xmltwig/pull/34
|
||||||
|
and to zostay and asb-capfan for finding typos in
|
||||||
|
https://github.com/mirod/xmltwig/pull/29 and
|
||||||
|
https://github.com/mirod/xmltwig/pull/33
|
||||||
|
- improved strip_att to allow more than 1 attribute to be stripped
|
||||||
|
thanks to chrispitude for https://github.com/mirod/xmltwig/pull/37
|
||||||
|
- added HTML style aliases for positions for paste and insert_new_elt
|
||||||
|
beforebegin for before
|
||||||
|
afterbegin for first_child
|
||||||
|
beforeend for last_child
|
||||||
|
afterend for after
|
||||||
|
- improved insert_new_elt to allow for the element to insert to be
|
||||||
|
a well-formed XML string, similar to insertAdjacentHTML in js
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 16 15:51:17 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
Thu Jan 16 15:51:17 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@@ -18,21 +18,22 @@
|
|||||||
|
|
||||||
%define cpan_name XML-Twig
|
%define cpan_name XML-Twig
|
||||||
Name: perl-XML-Twig
|
Name: perl-XML-Twig
|
||||||
Version: 3.530.0
|
Version: 3.540.0
|
||||||
Release: 0
|
Release: 0
|
||||||
# 3.53 -> normalize -> 3.530.0
|
# 3.54 -> normalize -> 3.540.0
|
||||||
%define cpan_version 3.53
|
%define cpan_version 3.54
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Summary: XML, The Perl Way
|
Summary: XML, The Perl Way
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIROD/%{cpan_name}-%{cpan_version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIROD/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
|
Source100: README.md
|
||||||
Patch0: perl-XML-Twig-CVE-2016-9180.patch
|
Patch0: perl-XML-Twig-CVE-2016-9180.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(XML::Parser) >= 2.23
|
BuildRequires: perl(XML::Parser) >= 2.230
|
||||||
Requires: perl(XML::Parser) >= 2.23
|
Requires: perl(XML::Parser) >= 2.230
|
||||||
Provides: perl(XML::Twig) = %{version}
|
Provides: perl(XML::Twig) = %{version}
|
||||||
Provides: perl(XML::Twig::Elt)
|
Provides: perl(XML::Twig::Elt)
|
||||||
Provides: perl(XML::Twig::Entity)
|
Provides: perl(XML::Twig::Entity)
|
||||||
@@ -40,6 +41,9 @@ Provides: perl(XML::Twig::Entity_list)
|
|||||||
Provides: perl(XML::Twig::Notation)
|
Provides: perl(XML::Twig::Notation)
|
||||||
Provides: perl(XML::Twig::Notation_list)
|
Provides: perl(XML::Twig::Notation_list)
|
||||||
Provides: perl(XML::Twig::XPath)
|
Provides: perl(XML::Twig::XPath)
|
||||||
|
Provides: perl(XML::Twig::XPath::Attribute)
|
||||||
|
Provides: perl(XML::Twig::XPath::Elt)
|
||||||
|
Provides: perl(XML::Twig::XPath::Namespace)
|
||||||
%undefine __perllib_provides
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
@@ -65,7 +69,7 @@ Requires: perl(Encode)
|
|||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides a way to process XML documents. It is build on top of
|
This module provides a way to process XML documents. It is built on top of
|
||||||
'XML::Parser'.
|
'XML::Parser'.
|
||||||
|
|
||||||
The module offers a tree interface to the document, while allowing you to
|
The module offers a tree interface to the document, while allowing you to
|
||||||
@@ -74,9 +78,9 @@ output the parts of it that have been completely processed.
|
|||||||
It allows minimal resource (CPU and memory) usage by building the tree only
|
It allows minimal resource (CPU and memory) usage by building the tree only
|
||||||
for the parts of the documents that need actual processing, through the use
|
for the parts of the documents that need actual processing, through the use
|
||||||
of the 'twig_roots ' and 'twig_print_outside_roots ' options. The 'finish '
|
of the 'twig_roots ' and 'twig_print_outside_roots ' options. The 'finish '
|
||||||
and 'finish_print ' methods also help to increase performances.
|
and 'finish_print ' methods also help to increase performance.
|
||||||
|
|
||||||
XML::Twig tries to make simple things easy so it tries its best to takes
|
XML::Twig tries to make simple things easy, so it tries its best to takes
|
||||||
care of a lot of the (usually) annoying (but sometimes necessary) features
|
care of a lot of the (usually) annoying (but sometimes necessary) features
|
||||||
that come with XML and XML::Parser.
|
that come with XML and XML::Parser.
|
||||||
|
|
||||||
@@ -98,6 +102,6 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%doc Changes check_optional_modules filter_for_5.005 README speedup Twig_pm.slow
|
%doc Changes check_optional_modules README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user