diff --git a/.gitignore b/.gitignore index 2ddf844..6ccdc5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Test-WWW-Mechanize-1.58.tar.gz +/Test-WWW-Mechanize-1.60.tar.gz diff --git a/0001-Fix-Odd-number-of-elements-in-hash-assignment-warnin.patch b/0001-Fix-Odd-number-of-elements-in-hash-assignment-warnin.patch deleted file mode 100644 index c71d9bb..0000000 --- a/0001-Fix-Odd-number-of-elements-in-hash-assignment-warnin.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 94286a1c31d76b177948899dae532d02329b020c Mon Sep 17 00:00:00 2001 -From: sunnavy -Date: Wed, 11 May 2022 05:59:42 +0800 -Subject: [PATCH] Fix "Odd number of elements in hash assignment" warning - -Test::LongString doesn't actually support to selectively export methods, -the expected args is not a list of method names, but a hash to customize -max, lcss and eol, etc. ---- - Mechanize.pm | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -diff --git a/Mechanize.pm b/Mechanize.pm -index f20670f..6cbd777 100644 ---- a/Mechanize.pm -+++ b/Mechanize.pm -@@ -67,13 +67,7 @@ results in - - use HTML::TokeParser (); - use WWW::Mechanize (); --use Test::LongString qw( -- contains_string -- is_string -- lacks_string -- like_string -- unlike_string --); -+use Test::LongString; - use Test::Builder (); - use Carp (); - use Carp::Assert::More qw( --- -2.37.1 - diff --git a/perl-Test-WWW-Mechanize.spec b/perl-Test-WWW-Mechanize.spec index c8849b6..3328edf 100644 --- a/perl-Test-WWW-Mechanize.spec +++ b/perl-Test-WWW-Mechanize.spec @@ -1,16 +1,12 @@ Name: perl-Test-WWW-Mechanize -Version: 1.58 -Release: 5%{?dist} +Version: 1.60 +Release: 1%{?dist} Summary: Testing-specific WWW::Mechanize subclass License: Artistic-2.0 URL: https://metacpan.org/release/Test-WWW-Mechanize Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Test-WWW-Mechanize-%{version}.tar.gz -# Address RHBZ#2111408 -# https://github.com/petdance/test-www-mechanize/commit/94286a1 -Patch1: 0001-Fix-Odd-number-of-elements-in-hash-assignment-warnin.patch - BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -54,7 +50,6 @@ features for web application testing. %prep %setup -q -n Test-WWW-Mechanize-%{version} -%patch1 -p1 # Propagate build-time requirement Carp::Assert::More >= 1.16 to run-time sed -i -e 's|use Carp::Assert::More|use Carp::Assert::More 1.16|' Mechanize.pm @@ -78,6 +73,9 @@ sed -i -e 's|use Carp::Assert::More|use Carp::Assert::More 1.16|' Mechanize.pm %changelog +* Sat Dec 17 2022 Ralf Corsépius - 1.60-1 +- Update to 1.60. + * Mon Nov 28 2022 Ralf Corsépius - 1.58-5 - Convert license to SPDX. diff --git a/sources b/sources index 6b1d54d..ed408c2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Test-WWW-Mechanize-1.58.tar.gz) = 71c562d10aecd2af7e19a243b99d93bce4c7fb5e2e237cbe2d1279c2406192eaf7624c3f1a9e8cfcaf2a8d033dd1a6d5d8d1e39096720f66f6ba9ee0cfe2548c +SHA512 (Test-WWW-Mechanize-1.60.tar.gz) = 86213bcbcd5d0f2565827ad692a190084552a5f6ddfd376729332ab67eb8cf54a622c23e4e3d5f21c29009ee2ed10036340499cff1e8c522c696d0a0bcfd65c1