[packages/perl-Mail-SPF] - updated to 3.20240206

hawk hawk at pld-linux.org
Sun Apr 28 15:21:35 CEST 2024


commit 506320a077e61bc9e954bcb5a3a2afdd1f44c7dc
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Sun Apr 28 14:36:17 2024 +0200

    - updated to 3.20240206

 perl-Mail-SPF.spec | 16 +++++++++++-----
 tests-fix.patch    | 10 +++++-----
 2 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/perl-Mail-SPF.spec b/perl-Mail-SPF.spec
index 1ab86cb..cb55869 100644
--- a/perl-Mail-SPF.spec
+++ b/perl-Mail-SPF.spec
@@ -7,13 +7,13 @@
 Summary:	Mail::SPF - Mail Sender Authentication
 Summary(pl.UTF-8):	Mail::SPF - uwierzytelnianie wysyłającego pocztę
 Name:		perl-Mail-SPF
-Version:	2.9.0
-Release:	4
+Version:	3.20240206
+Release:	1
 # "same as perl"
 License:	GPL or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-v%{version}.tar.gz
-# Source0-md5:	664e20d79c87fa505080f362e827dace
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	da1b4b35241de31553bc00626db90c12
 Patch0:		tests-fix.patch
 URL:		http://search.cpan.org/dist/Mail-SPF/
 BuildRequires:	perl-Module-Build
@@ -43,13 +43,14 @@ jeszcze wszystkich dodatkowych możliwości oczekiwanych od praktycznej
 implementacji SPF.
 
 %prep
-%setup -q -n %{pdir}-%{pnam}-v%{version}
+%setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
 
 # These tests mess around with resolv.conf and networking
 # that are not present on builders
 %{__rm} t/00.04-class-server.t t/00.05-class-macrostring.t
 
+
 %build
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
@@ -64,6 +65,11 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# Move spfd from /usr/bin to /usr/sbin to keep path same
+# as in older versions, note: needs spfd-path.patch!
+install -d $RPM_BUILD_ROOT%{_sbindir}
+%{__mv} $RPM_BUILD_ROOT%{_bindir}/spfd $RPM_BUILD_ROOT%{_sbindir}/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
diff --git a/tests-fix.patch b/tests-fix.patch
index 9fa63d5..dae51f3 100644
--- a/tests-fix.patch
+++ b/tests-fix.patch
@@ -1,13 +1,13 @@
-diff -ur Mail-SPF-v2.9.0.orig/lib/Mail/SPF/Util.pm Mail-SPF-v2.9.0/lib/Mail/SPF/Util.pm
---- Mail-SPF-v2.9.0.orig/lib/Mail/SPF/Util.pm	2013-07-22 03:52:31.000000000 +0000
-+++ Mail-SPF-v2.9.0/lib/Mail/SPF/Util.pm	2018-05-28 18:23:46.047830651 +0000
+diff -ur Mail-SPF-3.20240206.orig/lib/Mail/SPF/Util.pm Mail-SPF-3.20240206/lib/Mail/SPF/Util.pm
+--- Mail-SPF-3.20240206.orig/lib/Mail/SPF/Util.pm	2024-02-06 03:12:51.000000000 +0100
++++ Mail-SPF-3.20240206/lib/Mail/SPF/Util.pm	2024-04-28 14:12:16.939141473 +0200
 @@ -155,9 +155,9 @@
  throws I<Mail::SPF::EInvalidOptionValue>
  
  Returns the given I<NetAddr::IP> IPv4 or IPv6 address compactly formatted as a
--I<string>.  For IPv4 addresses, this is equivalent to calling L< NetAddr::IP's
+-I<string>.  For IPv4 addresses, this is equivalent to calling L<NetAddr::IP's
 -C<addr> |NetAddr::IP/addr> method.  For IPv6 addresses, this is equivalent to
--calling L< NetAddr::IP's C<short> |NedAddr::IP/short> method.  Throws a
+-calling L<NetAddr::IP's C<short> |NedAddr::IP/short> method.  Throws a
 +I<string>.  For IPv4 addresses, this is equivalent to calling L<NetAddr::IP>'s
 +C<addr> method.  For IPv6 addresses, this is equivalent to
 +calling L<NetAddr::IP>'s C<short> method.  Throws a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Mail-SPF.git/commitdiff/506320a077e61bc9e954bcb5a3a2afdd1f44c7dc



More information about the pld-cvs-commit mailing list