3 Commits

Author SHA256 Message Date
6f8ead14b3 Add Gitea build results 2025-08-12 18:18:41 +02:00
7903f0e3cc Accepting request 1285462 from devel:languages:perl
- Updated perl-XML-Twig-CVE-2016-9180.patch
- 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 (forwarded request 1284908 from tinita)

OBS-URL: https://build.opensuse.org/request/show/1285462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Twig?expand=0&rev=38
2025-06-14 14:17:14 +00:00
57008c1597 Accepting request 1284908 from devel:languages:perl:autoupdate
- Updated perl-XML-Twig-CVE-2016-9180.patch
- 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

OBS-URL: https://build.opensuse.org/request/show/1284908
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Twig?expand=0&rev=45
2025-06-13 11:44:00 +00:00
6 changed files with 78 additions and 15 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-XML-Twig/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-XML-Twig)

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

Binary file not shown.

View File

@@ -9,8 +9,8 @@ Bug-Debian: https://bugs.debian.org/842893
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2019-03-30
--- a/Twig_pm.slow
+++ b/Twig_pm.slow
--- a/lib/XML/Twig.pm
+++ b/lib/XML/Twig.pm
@@ -10561,6 +10561,15 @@
pubid => <pubid> }). Yes, this is a bit of a hack, but it's useful in some
cases.

View File

@@ -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>

View File

@@ -18,21 +18,22 @@
%define cpan_name XML-Twig
Name: perl-XML-Twig
Version: 3.530.0
Version: 3.540.0
Release: 0
# 3.53 -> normalize -> 3.530.0
%define cpan_version 3.53
# 3.54 -> normalize -> 3.540.0
%define cpan_version 3.54
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: XML, The Perl Way
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIROD/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
Patch0: perl-XML-Twig-CVE-2016-9180.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(XML::Parser) >= 2.23
Requires: perl(XML::Parser) >= 2.23
BuildRequires: perl(XML::Parser) >= 2.230
Requires: perl(XML::Parser) >= 2.230
Provides: perl(XML::Twig) = %{version}
Provides: perl(XML::Twig::Elt)
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_list)
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
%{perl_requires}
# MANUAL BEGIN
@@ -65,7 +69,7 @@ Requires: perl(Encode)
# MANUAL END
%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'.
The module offers a tree interface to the document, while allowing you to
@@ -74,14 +78,14 @@ output the parts of it that have been completely processed.
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
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
that come with XML and XML::Parser.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
@@ -98,6 +102,6 @@ make test
%perl_gen_filelist
%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