From 65829a4c78fe4e8f44a2d5a5fd782be201734c1a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 22 Apr 2024 22:17:43 +0200 Subject: [PATCH] update to 3.20240206 [release 3.20240206-1mamba;Mon Apr 22 2024] --- perl-Mail-SPF-2.9.0-POD.patch | 17 -------- perl-Mail-SPF-2.9.0-testsuite.patch | 62 ----------------------------- perl-Mail-SPF.spec | 16 ++++---- 3 files changed, 7 insertions(+), 88 deletions(-) delete mode 100644 perl-Mail-SPF-2.9.0-POD.patch delete mode 100644 perl-Mail-SPF-2.9.0-testsuite.patch diff --git a/perl-Mail-SPF-2.9.0-POD.patch b/perl-Mail-SPF-2.9.0-POD.patch deleted file mode 100644 index e477bf0..0000000 --- a/perl-Mail-SPF-2.9.0-POD.patch +++ /dev/null @@ -1,17 +0,0 @@ -https://rt.cpan.org/Public/Bug/Display.html?id=86060 - ---- lib/Mail/SPF/Util.pm -+++ lib/Mail/SPF/Util.pm -@@ -155,9 +155,9 @@ sub ipv6_address_is_ipv4_mapped { - throws I - - Returns the given I IPv4 or IPv6 address compactly formatted as a --I. For IPv4 addresses, this is equivalent to calling L< NetAddr::IP's --C |NetAddr::IP/addr> method. For IPv6 addresses, this is equivalent to --calling L< NetAddr::IP's C |NedAddr::IP/short> method. Throws a -+I. For IPv4 addresses, this is equivalent to calling L|NetAddr::IP/addr> method. For IPv6 addresses, this is equivalent to -+calling L|NetAddr::IP/short> method. Throws a - I exception if the specified object is not a - I IPv4 or IPv6 address object. - diff --git a/perl-Mail-SPF-2.9.0-testsuite.patch b/perl-Mail-SPF-2.9.0-testsuite.patch deleted file mode 100644 index 811851d..0000000 --- a/perl-Mail-SPF-2.9.0-testsuite.patch +++ /dev/null @@ -1,62 +0,0 @@ -Drop tests that fail with Net::DNS ≥ 0.68 due to that module's -sanitization of domain names - -https://rt.cpan.org/Ticket/Display.html?id=78214 - ---- t/rfc4408-tests.yml -+++ t/rfc4408-tests.yml -@@ -20,16 +20,6 @@ - --- - description: Initial processing - tests: -- toolonglabel: -- description: >- -- DNS labels limited to 63 chars. -- comment: >- -- For initial processing, a long label results in None, not TempError -- spec: 4.3/1 -- helo: mail.example.net -- host: 1.2.3.5 -- mailfrom: lyme.eater@A123456789012345678901234567890123456789012345678901234567890123.example.com -- result: none - longlabel: - description: >- - DNS labels limited to 63 chars. -@@ -360,21 +350,6 @@ tests: - host: 1.2.3.4 - mailfrom: foo@t9.example.com - result: permerror -- invalid-domain-empty-label: -- description: >- -- target-name that is a valid domain-spec per RFC 4408 but an invalid -- domain name per RFC 1035 (empty label) must be treated as non-existent. -- comment: >- -- An empty domain label, i.e. two successive dots, in a mechanism -- target-name is valid domain-spec syntax, even though a DNS query cannot -- be composed from it. The spec being unclear about it, this could either -- be considered a syntax error, or, by analogy to 4.3/1 and 5/10/3, the -- mechanism chould be treated as a no-match. -- spec: [4.3/1, 5/10/3] -- helo: mail.example.com -- host: 1.2.3.4 -- mailfrom: foo@t10.example.com -- result: [permerror, fail] - invalid-domain-long: - description: >- - target-name that is a valid domain-spec per RFC 4408 but an invalid -@@ -1776,15 +1751,6 @@ tests: - host: 192.168.218.40 - mailfrom: test@e1.example.com - result: permerror -- macro-mania-in-domain: -- description: >- -- macro-encoded percents (%%), spaces (%_), and URL-percent-encoded -- spaces (%-) -- spec: 8.1/3, 8.1/4 -- helo: mail.example.com -- host: 1.2.3.4 -- mailfrom: test@e1a.example.com -- result: pass - exp-txt-macro-char: - spec: 8.1/20 - description: >- diff --git a/perl-Mail-SPF.spec b/perl-Mail-SPF.spec index c7b46fa..5622e57 100644 --- a/perl-Mail-SPF.spec +++ b/perl-Mail-SPF.spec @@ -2,17 +2,15 @@ %define perl_ver %(eval `perl -V:version`; echo ${version}) Name: perl-Mail-SPF -Version: 2.9.0 -Release: 3mamba +Version: 3.20240206 +Release: 1mamba Summary: Mail::SPF - An object-oriented implementation of Sender Policy Framework Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ -Source: http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v%{version}.tar.gz -Patch0: perl-Mail-SPF-2.9.0-POD.patch -Patch1: perl-Mail-SPF-2.9.0-testsuite.patch +Source: https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-SPF-%{version}.tar.gz License: BSF ## AUTOBUILDREQ-BEGIN BuildRequires: libperl @@ -34,10 +32,7 @@ Requires: perl >= %perl_major_ver Mail::SPF - An object-oriented implementation of Sender Policy Framework %prep -%setup -q -n Mail-SPF-v%{version} -%patch 0 -p0 -%patch 1 -p0 -chmod -x bin/* sbin/* +%setup -q -n Mail-SPF-%{version} %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor @@ -69,6 +64,9 @@ rm -f .packlist %defattr(-,root,root) %changelog +* Mon Apr 22 2024 Silvan Calarco 3.20240206-1mamba +- update to 3.20240206 + * Mon Apr 17 2023 Sdk Build System 2.9.0-3mamba - rebuilt with perl 5.36.0