rpms/perl-Net-SSLGlue/F-12 perl-Net-SSLGlue-test.patch, NONE, 1.1 perl-Net-SSLGlue.spec, NONE, 1.1 sources, 1.1, 1.2
Remi Collet
remi at fedoraproject.org
Tue Feb 23 06:05:32 UTC 2010
- Previous message: rpms/perl-SQL-Abstract/devel .cvsignore, 1.11, 1.12 perl-SQL-Abstract.spec, 1.18, 1.19 sources, 1.11, 1.12
- Next message: rpms/perl-Net-SSLGlue/F-11 perl-Net-SSLGlue-test.patch, NONE, 1.1 perl-Net-SSLGlue.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/pkgs/rpms/perl-Net-SSLGlue/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19408
Modified Files:
sources
Added Files:
perl-Net-SSLGlue-test.patch perl-Net-SSLGlue.spec
Log Message:
new package
perl-Net-SSLGlue-test.patch:
Makefile.PL | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
--- NEW FILE perl-Net-SSLGlue-test.patch ---
--- Makefile.PL.orig 2010-02-21 17:49:52.000000000 +0100
+++ Makefile.PL 2010-02-21 17:55:04.000000000 +0100
@@ -1,14 +1,10 @@
use ExtUtils::MakeMaker;
require 5.008;
-my $xt = prompt( "Should I do external tests?\n".
- "These tests will fail if there is no internet connection or if a firewall\n".
- "blocks some traffic.\n".
- "[y/N]", 'n' );
WriteMakefile(
NAME => 'Net::SSLGlue',
VERSION_FROM => 'lib/Net/SSLGlue.pm',
PREREQ_PM => {
'IO::Socket::SSL' => 1.19,
},
- $xt =~m{^y}i ? ( test => { TESTS => 't/*.t t/external/*.t' }):(),
+ test => { TESTS => 't/*.t' },
);
--- NEW FILE perl-Net-SSLGlue.spec ---
Name: perl-Net-SSLGlue
Version: 0.2
Release: 1%{?dist}
Summary: Add/extend SSL support for common perl modules
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-SSLGlue/
Source0: http://www.cpan.org/modules/by-module/Net/Net-SSLGlue-%{version}.tar.gz
# Remove interactive question
# Only minimal test which doesnt requires Internet connexion
Patch0: perl-Net-SSLGlue-test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::Socket::SSL) >= 1.19
Requires: perl(IO::Socket::SSL) >= 1.19
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
Some commonly used perl modules don't have SSL support at all, even if the
protocol would support it. Others have SSL support, but most of them don't
do proper checking of the servers certificate.
%prep
%setup -q -n Net-SSLGlue-%{version}
%patch0 -p0
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYRIGHT TODO
%{perl_vendorlib}/Net
%{_mandir}/man3/Net*
%changelog
* Sun Feb 21 2010 Remi Collet <Fedora at famillecollet.com> - 0.2-1
- Specfile autogenerated by cpanspec 1.78
- initial RPM + cleanups
- from review (#567107) perl_default_filter + DESTDIR
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-SSLGlue/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 22 Feb 2010 21:35:23 -0000 1.1
+++ sources 23 Feb 2010 06:05:31 -0000 1.2
@@ -0,0 +1 @@
+ba5359e12f08535243617bdd8944cb03 Net-SSLGlue-0.2.tar.gz
- Previous message: rpms/perl-SQL-Abstract/devel .cvsignore, 1.11, 1.12 perl-SQL-Abstract.spec, 1.18, 1.19 sources, 1.11, 1.12
- Next message: rpms/perl-Net-SSLGlue/F-11 perl-Net-SSLGlue-test.patch, NONE, 1.1 perl-Net-SSLGlue.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the perl-devel
mailing list