]> git.pld-linux.org Git - packages/perl-Mail-SPF.git/commitdiff
- updated to 2.9.0
authorMarcin Krol <hawk@tld-linux.org>
Mon, 28 May 2018 18:33:51 +0000 (18:33 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 28 May 2018 18:33:51 +0000 (18:33 +0000)
perl-Mail-SPF.spec
tests-fix.patch [new file with mode: 0644]

index 9390587b24afce89d84e7f1eee52e7be40bc6f2b..2d47b5e45eeef4c4f33c8948f1acd018100f6a0c 100644 (file)
@@ -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 (file)
index 0000000..9fa63d5
--- /dev/null
@@ -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.
This page took 0.081663 seconds and 4 git commands to generate.