Accepting request 1279841 from devel:languages:perl:autoupdate

- Remove perl-5.40.patch (fixed upstream)
- updated to 1.60.0 (1.06)
   see /usr/share/doc/packages/perl-Encode-IMAPUTF7/Changes
  1.06 - 
    Fix tests to work under perl v5.40

OBS-URL: https://build.opensuse.org/request/show/1279841
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Encode-IMAPUTF7?expand=0&rev=6
This commit is contained in:
2025-05-25 07:10:25 +00:00
committed by Git OBS Bridge
parent 7575cb7955
commit 6d284c11f6
6 changed files with 22 additions and 42 deletions

View File

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

View File

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

View File

@@ -7,8 +7,7 @@
#sources: #sources:
# - source1 # - source1
# - source2 # - source2
patches: #patches:
perl-5.40.patch: -p1 PATCH-FIX-UPSTREAM https://rt.cpan.org/Public/Bug/Display.html?id=149091
# bar.patch: # bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE # baz.patch: PATCH-FIX-OPENSUSE
#preamble: |- #preamble: |-

View File

@@ -1,31 +0,0 @@
Description: fix import warnings with perl 5.40
Origin: vendor
Bug: https://rt.cpan.org/Ticket/Display.html?id=149091
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=149091
Bug-Debian: https://bugs.debian.org/1078061
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2024-08-07
--- a/t/0-test.t
+++ b/t/0-test.t
@@ -6,7 +6,8 @@
use Test::More tests => 2;
use Test::NoWarnings;
-use Encode::IMAPUTF7 qw(encode decode);
+use Encode qw(encode decode);
+use Encode::IMAPUTF7;
use File::Spec;
use File::Basename;
--- a/t/1-ampersand.t
+++ b/t/1-ampersand.t
@@ -7,7 +7,7 @@
use Test::More tests => 6;
use Test::NoWarnings;
-use Encode::IMAPUTF7 qw(encode decode);
+use Encode::IMAPUTF7;
is(Encode::IMAPUTF7->encode("&"), "&-", "Single ampersand");
is(Encode::IMAPUTF7->encode("A&B"), "A&-B", "Ampersand surrounded by two US-ASCII chars");

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat May 24 16:45:33 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Remove perl-5.40.patch (fixed upstream)
-------------------------------------------------------------------
Sat May 10 05:33:37 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.60.0 (1.06)
see /usr/share/doc/packages/perl-Encode-IMAPUTF7/Changes
1.06 - Fri May 9 12:23:00 2025
Fix tests to work under perl v5.40
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 13 15:28:11 UTC 2025 - Tina Müller <tina.mueller@suse.com> Mon Jan 13 15:28:11 UTC 2025 - Tina Müller <tina.mueller@suse.com>

View File

@@ -18,17 +18,15 @@
%define cpan_name Encode-IMAPUTF7 %define cpan_name Encode-IMAPUTF7
Name: perl-Encode-IMAPUTF7 Name: perl-Encode-IMAPUTF7
Version: 1.50.0 Version: 1.60.0
Release: 0 Release: 0
# 1.05 -> normalize -> 1.50.0 # 1.06 -> normalize -> 1.60.0
%define cpan_version 1.05 %define cpan_version 1.06
License: Artistic-1.0 OR GPL-1.0-or-later License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Modification of UTF-7 encoding for IMAP Summary: Modification of UTF-7 encoding for IMAP
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PM/PMAKHOLM/%{cpan_name}-%{cpan_version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
# PATCH-FIX-UPSTREAM https://rt.cpan.org/Public/Bug/Display.html?id=149091
Patch0: perl-5.40.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros