Name: perl-Mail-SPF Version: 2.9.0 Release: 10%{?dist} Summary: Object-oriented implementation of Sender Policy Framework License: BSD URL: http://search.cpan.org/dist/Mail-SPF/ Source0: http://www.cpan.org/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v%{version}.tar.gz Patch0: Mail-SPF-v2.8.0-POD.patch Patch1: Mail-SPF-v2.8.0-testsuite.patch BuildArch: noarch # Build BuildRequires: coreutils BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(Module::Build) BuildRequires: perl(version) # Runtime BuildRequires: perl(base) BuildRequires: perl(constant) BuildRequires: perl(Error) BuildRequires: perl(Net::DNS) >= 0.62 BuildRequires: perl(Net::DNS::Resolver) BuildRequires: perl(NetAddr::IP) >= 4 BuildRequires: perl(overload) BuildRequires: perl(strict) BuildRequires: perl(Sys::Hostname) BuildRequires: perl(URI) >= 1.13 BuildRequires: perl(URI::Escape) BuildRequires: perl(utf8) BuildRequires: perl(warnings) # Tests only BuildRequires: perl(blib) BuildRequires: perl(Net::DNS::Resolver::Programmable) >= 0.003 BuildRequires: perl(Net::DNS::RR) BuildRequires: perl(Test::More) # Optional tests only BuildRequires: perl(Test::Pod) >= 1.00 Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Net::DNS) >= 0.62 Requires: perl(URI) >= 1.13 %description Mail::SPF is an object-oriented implementation of Sender Policy Framework (SPF). See http://www.openspf.org for more information about SPF. %prep %setup -q -n Mail-SPF-v%{version} # Fix broken POD (CPAN RT#86060) %patch0 # Work around test suite failures with Net::DNS ≥ 0.68 (CPAN RT#78214) %patch1 chmod -x bin/* sbin/* %build perl Build.PL installdirs=vendor ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 %{_fixperms} %{buildroot}/* # Don't include the spfd and spfquery scripts in _bindir. rm -f %{buildroot}%{_bindir}/spfquery %{buildroot}%{_sbindir}/spfd rm -rf %{buildroot}%{_mandir}/man1 %check ./Build test %files %license LICENSE %doc CHANGES README TODO bin/ sbin/ %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun May 15 2016 Jitka Plesnikova - 2.9.0-10 - Perl 5.24 rebuild * Mon Feb 29 2016 Petr Šabata - 2.9.0-9 - Package cleanup * Thu Feb 04 2016 Fedora Release Engineering - 2.9.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 2.9.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 06 2015 Jitka Plesnikova - 2.9.0-6 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 2.9.0-5 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 2.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 2.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 2.9.0-2 - Perl 5.18 rebuild * Mon Jul 22 2013 Paul Howarth - 2.9.0-1 - Update to 2.9.0 - Default to querying only TXT type RRs (query_rr_types = Mail::SPF::Server->query_rr_type_txt); experience has shown that querying SPF type RRs is impractical * Fri Jun 28 2013 Paul Howarth - 2.8.0-3 - Fix broken POD (CPAN RT#86060) - Work around test suite failures with Net::DNS ≥ 0.68 (CPAN RT#78214) * Thu Feb 14 2013 Fedora Release Engineering - 2.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Nov 20 2012 Petr Šabata - 2.8.0-1 - 2.8.0 bump - Fix dependencies - Drop command macros * Fri Jul 20 2012 Fedora Release Engineering - 2.007-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 13 2012 Petr Pisar - 2.007-5 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.007-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jul 19 2011 Petr Sabata - 2.007-3 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 2.007-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Dec 5 2010 Nick Bebout - 2.007-1 - Update to 2.007 * Mon May 03 2010 Marcela Maslanova - 2.006-5 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 2.006-4 - rebuild against perl 5.10.1 * Sun Jul 26 2009 Fedora Release Engineering - 2.006-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 2.006-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Dec 12 2008 Steven Pritchard 2.006-1 - Update to 2.006. * Thu Mar 06 2008 Tom "spot" Callaway - 2.005-2 - Rebuild for new perl * Mon Jul 09 2007 Steven Pritchard 2.005-1 - Specfile autogenerated by cpanspec 1.71. - Add the "v" before version numbers to handle broken upstream packaging. - Remove redundant perl build dependency. - Drop bogus version number from Net::DNS::Resolver::Programmable dependency. - Drop redundant explicit dependencies. - BR Test::More and Test::Pod. - Include the spfd and spfquery scripts as %%doc