rpms/perl-Mail-SPF-Query/EL-4 .cvsignore, 1.2, 1.3 perl-Mail-SPF-Query.spec, 1.1, 1.2 sources, 1.2, 1.3 use-sys-hostname.patch, 1.1, 1.2 MSQ-fallback.patch, 1.1, NONE

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Tue Aug 14 01:25:06 UTC 2007


Author: steve

Update of /cvs/pkgs/rpms/perl-Mail-SPF-Query/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9723

Modified Files:
	.cvsignore perl-Mail-SPF-Query.spec sources 
	use-sys-hostname.patch 
Removed Files:
	MSQ-fallback.patch 
Log Message:
Sync with devel.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Mail-SPF-Query/EL-4/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	4 Aug 2005 15:59:58 -0000	1.2
+++ .cvsignore	14 Aug 2007 01:24:33 -0000	1.3
@@ -1 +1 @@
-Mail-SPF-Query-1.997.tar.gz
+Mail-SPF-Query-1.999.1.tar.gz


Index: perl-Mail-SPF-Query.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Mail-SPF-Query/EL-4/perl-Mail-SPF-Query.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perl-Mail-SPF-Query.spec	4 Aug 2005 15:59:58 -0000	1.1
+++ perl-Mail-SPF-Query.spec	14 Aug 2007 01:24:33 -0000	1.2
@@ -1,24 +1,21 @@
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-
 Name:           perl-Mail-SPF-Query
-Version:        1.997
-Release:        4%{?dist}
-Summary:        Mail::SPF::Query Perl module
+Version:        1.999.1
+Release:        3%{?dist}
+Summary:        Query Sender Policy Framework
 License:        GPL or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Mail-SPF-Query/
-Source0:        http://www.cpan.org/modules/by-module/Mail/Mail-SPF-Query-1.997.tar.gz
+Source0:        http://www.cpan.org/authors/id/J/JM/JMEHNLE/mail-spf-query/Mail-SPF-Query-%{version}.tar.gz
 # From Paul Howarth
-Patch0:         MSQ-fallback.patch
 Patch1:         use-sys-hostname.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(Net::DNS) >= 0.46, perl(Net::CIDR::Lite) >= 0.15
-
+BuildRequires:  perl(ExtUtils::MakeMaker)
 %{?_with_check:BuildRequires: perl(Test::Pod::Coverage)}
 %{?_with_check:BuildRequires: perl(Net::DNS) >= 0.46}
 %{?_with_check:BuildRequires: perl(Net::CIDR::Lite) >= 0.15}
+%{?_with_check:BuildRequires: perl(URI::Escape)}
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 The SPF protocol relies on sender domains to publish a DNS whitelist of
@@ -27,12 +24,12 @@
 
 %prep
 %setup -q -n Mail-SPF-Query-%{version}
-%patch0 -p1
 %patch1 -p1
 
+chmod -x examples/* bin/*
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
 make %{?_smp_mflags}
 
 %install
@@ -41,15 +38,16 @@
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
-chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 # Don't include the spfd and spfquery scripts in _bindir.
 rm -f $RPM_BUILD_ROOT%{_bindir}/spfd $RPM_BUILD_ROOT%{_bindir}/spfquery
+rm -rf $RPM_BUILD_ROOT%{_mandir}/man1
 
 # Does a lot of external DNS lookups.
-%check || :
+%check
 %{?_with_check:make test}
 
 %clean
@@ -57,11 +55,27 @@
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README sample spfd spfquery
+%doc CHANGES README examples/ bin/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Apr 18 2007 Steven Pritchard <steve at kspei.com> 1.999.1-3
+- Use fixperms macro instead of our own chmod incantation.
+- BR ExtUtils::MakeMaker.
+
+* Tue Sep 05 2006 Steven Pritchard <steve at kspei.com> 1.999.1-2
+- Minor spec cleanup.
+
+* Fri Mar 10 2006 Steven Pritchard <steve at kspei.com> 1.999.1-1
+- Update to 1.999.1
+- Drop MSQ-fallback.patch (upstream seems to have a similar fix)
+- Update use-sys-hostname.patch
+
+* Mon Sep 05 2005 Steven Pritchard <steve at kspei.com> 1.997-5
+- Spec cleanup
+- Include COPYING and Artistic
+
 * Mon Aug 01 2005 Steven Pritchard <steve at kspei.com> 1.997-4
 - Add some BuildRequires (suggested by Paul Howarth)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Mail-SPF-Query/EL-4/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	4 Aug 2005 15:59:58 -0000	1.2
+++ sources	14 Aug 2007 01:24:33 -0000	1.3
@@ -1 +1 @@
-9e110d00520e0fe174c25c0734a8baf6  Mail-SPF-Query-1.997.tar.gz
+6d62d024d1614fa1fa4f43bd39ee7bf0  Mail-SPF-Query-1.999.1.tar.gz

use-sys-hostname.patch:

Index: use-sys-hostname.patch
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Mail-SPF-Query/EL-4/use-sys-hostname.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- use-sys-hostname.patch	4 Aug 2005 15:59:58 -0000	1.1
+++ use-sys-hostname.patch	14 Aug 2007 01:24:33 -0000	1.2
@@ -1,12 +1,20 @@
---- Mail-SPF-Query-1.997.orig/Query.pm	2005-07-21 15:24:38.000000000 -0500
-+++ Mail-SPF-Query-1.997/Query.pm	2005-07-21 15:25:32.000000000 -0500
-@@ -325,8 +325,7 @@
+--- Mail-SPF-Query-1.999.1/lib/Mail/SPF/Query.pm.orig	2006-02-26 11:41:11.000000000 -0600
++++ Mail-SPF-Query-1.999.1/lib/Mail/SPF/Query.pm	2006-03-10 15:56:05.000000000 -0600
+@@ -23,7 +23,7 @@
+ our $VERSION = '1.999.1';  # fake version for EU::MM and CPAN
+ $VERSION = '1.999001';     # real numerical version
+ 
+-use Sys::Hostname::Long;
++use Sys::Hostname;
+ use Net::DNS qw();  # by default it exports mx, which we define.
+ use Net::CIDR::Lite;
+ use URI::Escape;
+@@ -296,7 +296,7 @@
+                            $query->{ipv6} ? die "IPv6 not supported" : "");
  
    if (not $query->{myhostname}) {
-     use Sys::Hostname; 
--    eval { require Sys::Hostname::Long };
--    $query->{myhostname} = $@ ? hostname() : Sys::Hostname::Long::hostname_long();
+-    $query->{myhostname} = Sys::Hostname::Long::hostname_long();
 +    $query->{myhostname} = hostname();
    }
- 
    $query->{myhostname} ||= "localhost";
+ 


--- MSQ-fallback.patch DELETED ---




More information about the fedora-extras-commits mailing list