[perl-Crypt-SSLeay] 0.60 bump

Petr Šabata psabata at fedoraproject.org
Mon Jul 30 13:06:54 UTC 2012


commit 3208b8097941729a3bcb82acf340c3d64bbe2117
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Jul 30 15:05:13 2012 +0200

    0.60 bump

 .gitignore             |    1 +
 perl-Crypt-SSLeay.spec |   43 ++++++++++++++++++++++++-------------------
 sources                |    2 +-
 3 files changed, 26 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1deed9d..0faba11 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Crypt-SSLeay-0.57.tar.gz
 /Crypt-SSLeay-0.58.tar.gz
+/Crypt-SSLeay-0.60.tar.gz
diff --git a/perl-Crypt-SSLeay.spec b/perl-Crypt-SSLeay.spec
index 2c9bdb3..923d5e0 100644
--- a/perl-Crypt-SSLeay.spec
+++ b/perl-Crypt-SSLeay.spec
@@ -1,7 +1,7 @@
 Name:           perl-Crypt-SSLeay
 Summary:        Crypt::SSLeay - OpenSSL glue that provides LWP https support
-Version:        0.58
-Release:        11%{?dist}
+Version:        0.60
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-%{version}.tar.gz
@@ -9,16 +9,23 @@ Patch1:         perl-Crypt-SSLeay-cryptdef.patch
 URL:            http://search.cpan.org/dist/Crypt-SSLeay/
 
 BuildRequires:  openssl-devel
-BuildRequires:  perl(URI)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::Pod::Coverage)
 %if ! ( 0%{?rhel} )
 BuildRequires:  perl(ExtUtils::MakeMaker::Coverage)
 %endif
-BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(MIME::Base64)
+BuildRequires:  perl(Net::SSL)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(URI)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Try::Tiny)
 BuildRequires:  /etc/pki/tls/certs/ca-bundle.crt
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       /etc/pki/tls/certs/ca-bundle.crt
 
 # RPM 4.8 style
@@ -39,32 +46,28 @@ The Crypt::SSLeay package contains Net::SSL, which is automatically
 loaded by LWP::Protocol::https on https requests, and provides the
 necessary SSL glue for that module to work.
 
-
 %prep
 %setup -q -n Crypt-SSLeay-%{version} 
 %patch1 -p1 -b .cryptdef
-
 # Fix line endings
 perl -pi -e 's/\r$//' README
 
-
 %build
 if pkg-config openssl ; then
   export INC="$CFLAGS `pkg-config --cflags-only-I openssl`"
   export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
 fi
 
-%{__perl} Makefile.PL --default --no-live-tests INC="$INC" \
-          LDFLAGS="$LDFLAGS" INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL --default --no-live-tests INC="$INC" \
+     LDFLAGS="$LDFLAGS" INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
-
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
-chmod -R u+w $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
+chmod -R u+w %{buildroot}/*
 chmod -R 644 eg/*
 chmod -R 644 certs/*
 rm certs/ca-bundle.crt
@@ -73,9 +76,7 @@ ln -s /etc/pki/tls/certs/ca-bundle.crt certs/ca-bundle.crt
 %check
 make test
 
-
 %files
-%defattr(-,root,root,-)
 %doc README Changes eg/* certs/*
 %{perl_vendorarch}/auto/Crypt/
 %{perl_vendorarch}/Crypt/
@@ -85,6 +86,10 @@ make test
 
 
 %changelog
+* Mon Jul 30 2012 Petr Šabata <contyk at redhat.com> - 0.60-1
+- 0.60 bugfix bump
+- Drop command macros and modernize the spec a bit
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.58-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index f0626d3..7c9489f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fbf3d12e58462cee00ea63239c0b13c7  Crypt-SSLeay-0.58.tar.gz
+04986e80e4a9f81479a98b32eb14a1c5  Crypt-SSLeay-0.60.tar.gz


More information about the scm-commits mailing list