WIP: Automatic update to XML-Easy-0.012.tar.gz #1

Draft
cpanmirror wants to merge 1 commits from cpanmirror/perl-XML-Easy:autoupdate into main
4 changed files with 48 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2f6a8e766cce345b3addc5f4315092ac9fa0e3d846cc97a8847995e71e67615
size 71090

BIN
XML-Easy-0.014.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
Sun Jan 18 05:42:32 UTC 2026 - Tina Müller <timueller+perl@suse.de>
- updated to 0.14.0 (0.014)
see /usr/share/doc/packages/perl-XML-Easy/Changes
version 0.014; 2026-01-17
* Corrected errors made in version 0.012 transition from using Build.PL to
Makefile.PL. Tim Legge reported that XS code was not being processed into
C code. As side effect, build-time warnings and errors that had been
observed over the years in CPANtesters reports were not being observed.
Within directory tree Easy.xs was moved to a more typical location (for
MakeMaker) on the top level, after which build-time errors were fixed with
approaches borrowed from other CPAN distributions. Both XS-based and
pure-Perl compilations should now work. No other change in functionality.
version 0.013; 2026-01-16
* No change in functionality
* Small correction in Makefile.PL to generate better module metadata.
version 0.012; 2026-01-14
* No substantive changes in code in .pm files.
* In lib/XML/Easy.xs, customized definition of PERL_VERSION_GE proved no
longer necessary for building or testing; removing it enabled elimination of
build-time warning.
* To simplify maintenance going forward, extension is built using
Makefile.PL rather than Build.PL.
* Accepted patch to t/syntax_main.t from Dave Mitchell.
* Tests of POD and POD coverage now run only when envvar is set.
* Code is now maintained in GitHub repository.
-------------------------------------------------------------------
Fri Mar 8 00:24:15 UTC 2024 - Tina Müller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-Easy
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,23 +18,24 @@
%define cpan_name XML-Easy
Name: perl-XML-Easy
Version: 0.11.0
Version: 0.14.0
Release: 0
# 0.011 -> normalize -> 0.11.0
%define cpan_version 0.011
License: Artistic-1.0 OR GPL-1.0-or-later
# 0.014 -> normalize -> 0.14.0
%define cpan_version 0.014
License: CHECK(Artistic-1.0 or GPL-1.0-or-later)
Summary: XML processing with a clean interface
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{cpan_version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
# PATCH-FIX-UPSTREAM fix build with Perl >= 5.29, https://rt.cpan.org/Public/Bug/Display.html?id=127416
Patch0: syntax_main.t.diff
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
BuildRequires: perl(Internals)
BuildRequires: perl(Params::Classify)
BuildRequires: perl(parent)
Requires: perl(Internals)
Requires: perl(Params::Classify)
Requires: perl(parent)
Provides: perl(XML::Easy) = %{version}
@@ -45,7 +46,6 @@ Provides: perl(XML::Easy::NodeBasics) = %{version}
Provides: perl(XML::Easy::Syntax) = %{version}
Provides: perl(XML::Easy::Text) = %{version}
%undefine __perllib_provides
Recommends: perl(Internals)
%{perl_requires}
%description
@@ -73,17 +73,20 @@ here, too, are functional in nature.
There are other modules for some ancillary aspects of XML processing.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p0
%autosetup -n %{cpan_name}-%{cpan_version} -N
%patch -P0 -p0
%build
perl Build.PL --installdirs=vendor optimize="%{optflags}"
./Build build --flags=%{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
./Build test
make test
%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files