Compare commits

1 Commits
main ... 1.1

5 changed files with 17 additions and 58 deletions

BIN
XML-Twig-3.52.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
XML-Twig-3.53.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -11,7 +11,7 @@ Last-Update: 2019-03-30
--- a/Twig_pm.slow --- a/Twig_pm.slow
+++ b/Twig_pm.slow +++ b/Twig_pm.slow
@@ -10561,6 +10561,15 @@ @@ -10454,6 +10454,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.

View File

@@ -1,37 +1,3 @@
-------------------------------------------------------------------
Thu Jan 16 15:51:17 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Also provide perl(XML::Twig::XPath), as provided by the file
/usr/lib/perl5/vendor_perl/*/XML/Twig/XPath.pm.
-------------------------------------------------------------------
Fri Jan 10 17:56:14 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Update perl-XML-Twig-CVE-2016-9180.patch
-------------------------------------------------------------------
Sat Dec 14 05:34:55 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 3.530.0 (3.53)
see /usr/share/doc/packages/perl-XML-Twig/Changes
3.53 - 2024-12-10 - minor maintenance release
- fixed warning from recent perl version
See RT#155759 https://rt.cpan.org/Public/Bug/Display.html?id=155759
- fixed bug with namespaced elements in navigation
- added multiclass selectors in navigation and handler triggers
(css style, eg elt.class1.class2)
- fixed bug with dots in element names confusing navigation
conditions in some cases
- fixed output when a CDATA section includes a CDATA end marker
spotted by Djibril
-------------------------------------------------------------------
Mon Mar 4 16:15:09 UTC 2024 - pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 13 17:35:09 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> Mon Jul 13 17:35:09 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-XML-Twig # spec file for package perl-XML-Twig
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,31 +16,23 @@
# #
%define cpan_name XML-Twig
Name: perl-XML-Twig Name: perl-XML-Twig
Version: 3.530.0 Version: 3.52
Release: 0 Release: 0
# 3.53 -> normalize -> 3.530.0 %define cpan_name XML-Twig
%define cpan_version 3.53 Summary: Perl Module for Processing Huge Xml Documents in Tree Mode
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 Group: Development/Libraries/Perl
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://www.cpan.org/authors/id/M/MI/MIROD/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
Patch0: perl-XML-Twig-CVE-2016-9180.patch Patch0: perl-XML-Twig-CVE-2016-9180.patch
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(XML::Parser) >= 2.23 BuildRequires: perl(XML::Parser) >= 2.23
Requires: perl(XML::Parser) >= 2.23 Requires: perl(XML::Parser) >= 2.23
Provides: perl(XML::Twig) = %{version}
Provides: perl(XML::Twig::Elt)
Provides: perl(XML::Twig::Entity)
Provides: perl(XML::Twig::Entity_list)
Provides: perl(XML::Twig::Notation)
Provides: perl(XML::Twig::Notation_list)
Provides: perl(XML::Twig::XPath)
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
# MANUAL BEGIN # MANUAL BEGIN
BuildRequires: expat BuildRequires: expat
@@ -81,13 +73,13 @@ 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.
%prep %prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1 %setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %patch0 -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%make_build make %{?_smp_mflags}
%check %check
make test make test
@@ -98,6 +90,7 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes check_optional_modules filter_for_5.005 README speedup Twig_pm.slow %doc Changes check_optional_modules filter_for_5.005 README speedup Twig_pm.slow
%changelog %changelog