Author: pghmcfc
Update of /cvs/pkgs/rpms/perl-Net-SSLeay/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12899
Modified Files:
.cvsignore perl-Net-SSLeay.spec sources
Removed Files:
perl-Net-SSLeay-1.32-external-hosts.patch
perl-Net-SSLeay-1.32-notests.patch
Log Message:
* Mon Jul 28 2008 Paul Howarth <paul(a)city-fan.org> - 1.35-1
- update to 1.35
- drop flag and patch for enabling/disabling external tests - patch now upstream
- external hosts patch no longer needed as we don't do external tests
- filter out unversioned provide for perl(Net::SSLeay)
- use the distro openssl flags rather than guessing them
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-SSLeay/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 28 Nov 2007 15:38:29 -0000 1.3
+++ .cvsignore 28 Jul 2008 15:10:39 -0000 1.4
@@ -1 +1 @@
-Net-SSLeay-1.32.tar.gz
+Net-SSLeay-1.35.tar.gz
Index: perl-Net-SSLeay.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-SSLeay/devel/perl-Net-SSLeay.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- perl-Net-SSLeay.spec 2 Mar 2008 15:56:44 -0000 1.10
+++ perl-Net-SSLeay.spec 28 Jul 2008 15:10:39 -0000 1.11
@@ -1,23 +1,17 @@
-#
-# Rebuild switch:
-# --with externaltests enable external network tests
-#
-
Name: perl-Net-SSLeay
-Version: 1.32
-Release: 5%{?dist}
+Version: 1.35
+Release: 1%{?dist}
Summary: Perl extension for using OpenSSL
Group: Development/Libraries
License: OpenSSL
URL:
http://search.cpan.org/dist/Net-SSLeay/
Source0:
http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Net-SSLeay-%{version}.t...
-Patch0: perl-Net-SSLeay-1.32-notests.patch
-Patch1: perl-Net-SSLeay-1.32-external-hosts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker), openssl-devel
BuildRequires: perl(Array::Compare), perl(MIME::Base64), perl(Sub::Uplevel)
-BuildRequires: perl(Test::Exception), perl(Test::NoWarnings), perl(Test::Pod),
perl(Test::Warn), perl(Tree::DAG_Node)
+BuildRequires: perl(Test::Exception), perl(Test::NoWarnings), perl(Test::Pod)
+BuildRequires: perl(Test::Warn), perl(Tree::DAG_Node)
%description
This module offers some high level convenience functions for accessing
@@ -28,10 +22,6 @@
%prep
%setup -q -n Net-SSLeay-%{version}
-%if 0%{!?_with_externaltests:1}
-%patch0 -p1 -b .notests
-%endif
-%patch1 -p1 -b .hosts
%{__chmod} -c 644 examples/*
%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' examples/*.pl
for f in Credits lib/Net/SSLeay.pm; do
@@ -39,9 +29,16 @@
%{__mv} ${f}.utf8 ${f}
done
+# Remove redundant provides (there's also a versioned one)
+%global provfilt /bin/sh -c "%{__perl_provides} | %{__grep} -Fvx
'perl(Net::SSLeay)'"
+%define __perl_provides %{provfilt}
+
%build
PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL \
- INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+ INSTALLDIRS=vendor \
+ INC="$(/usr/bin/pkg-config --cflags-only-I openssl)" \
+ LIBS="$(/usr/bin/pkg-config --libs openssl)" \
+ OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%install
@@ -67,6 +64,13 @@
%{_mandir}/man3/Net::SSLeay*.3*
%changelog
+* Mon Jul 28 2008 Paul Howarth <paul(a)city-fan.org> - 1.35-1
+- update to 1.35
+- drop flag and patch for enabling/disabling external tests - patch now upstream
+- external hosts patch no longer needed as we don't do external tests
+- filter out unversioned provide for perl(Net::SSLeay)
+- use the distro openssl flags rather than guessing them
+
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa(a)redhat.com> - 1.32-5
- Rebuild for perl 5.10 (again)
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-SSLeay/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 28 Nov 2007 15:38:29 -0000 1.3
+++ sources 28 Jul 2008 15:10:39 -0000 1.4
@@ -1 +1 @@
-3e0918a7101633f06cfe4f7ca005917e Net-SSLeay-1.32.tar.gz
+1e4ec37a4467eb66a62d3c090ac9029b Net-SSLeay-1.35.tar.gz
--- perl-Net-SSLeay-1.32-external-hosts.patch DELETED ---
--- perl-Net-SSLeay-1.32-notests.patch DELETED ---