[packages/perl-Mail-SPF] - updated to 2.9.0
hawk
hawk at pld-linux.org
Mon May 28 20:34:02 CEST 2018
commit ec7e92a24d10251530bc1bc33dde7e9a6f5e8cb6
Author: Marcin Krol <hawk at tld-linux.org>
Date: Mon May 28 18:33:51 2018 +0000
- updated to 2.9.0
perl-Mail-SPF.spec | 10 ++++++----
tests-fix.patch | 16 ++++++++++++++++
2 files changed, 22 insertions(+), 4 deletions(-)
---
diff --git a/perl-Mail-SPF.spec b/perl-Mail-SPF.spec
index 9390587..2d47b5e 100644
--- a/perl-Mail-SPF.spec
+++ b/perl-Mail-SPF.spec
@@ -8,13 +8,14 @@
Summary: Mail::SPF - Mail Sender Authentication
Summary(pl.UTF-8): Mail::SPF - uwierzytelnianie wysyłającego pocztę
Name: perl-Mail-SPF
-Version: 2.004
+Version: 2.9.0
Release: 1
# "same as perl"
License: GPL or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 0923798432e0f25dffc4bc6428abef6a
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-v%{version}.tar.gz
+# Source0-md5: 664e20d79c87fa505080f362e827dace
+Patch0: tests-fix.patch
URL: http://search.cpan.org/dist/Mail-SPF/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
@@ -40,7 +41,8 @@ jeszcze wszystkich dodatkowych możliwości oczekiwanych od praktycznej
implementacji SPF.
%prep
-%setup -q -n %{pdir}-%{pnam}-%{version}
+%setup -q -n %{pdir}-%{pnam}-v%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/tests-fix.patch b/tests-fix.patch
new file mode 100644
index 0000000..9fa63d5
--- /dev/null
+++ b/tests-fix.patch
@@ -0,0 +1,16 @@
+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
+@@ -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
+-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
++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
+ I<Mail::SPF::EInvalidOptionValue> exception if the specified object is not a
+ I<NetAddr::IP> IPv4 or IPv6 address object.
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Mail-SPF.git/commitdiff/ec7e92a24d10251530bc1bc33dde7e9a6f5e8cb6
More information about the pld-cvs-commit
mailing list