[perl-Crypt-SSLeay] Use ca-certificates bundle

Petr Sabata psabata at fedoraproject.org
Wed Sep 7 12:34:00 UTC 2011


commit 42adaa4b71dc955d2c17c4bed6b196320ba48caf
Author: Petr Sabata <contyk at redhat.com>
Date:   Wed Sep 7 14:32:44 2011 +0200

    Use ca-certificates bundle

 perl-Crypt-SSLeay.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-Crypt-SSLeay.spec b/perl-Crypt-SSLeay.spec
index abfb1a8..abbb994 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:        6%{?dist}
+Release:        7%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-%{version}.tar.gz
@@ -15,7 +15,9 @@ BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(ExtUtils::MakeMaker::Coverage)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  /etc/pki/tls/certs/ca-bundle.crt
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       /etc/pki/tls/certs/ca-bundle.crt
 
 # RPM 4.8 style
 %{?filter_setup:
@@ -63,6 +65,8 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
 chmod -R u+w $RPM_BUILD_ROOT/*
 chmod -R 644 eg/*
 chmod -R 644 certs/*
+rm certs/ca-bundle.crt
+ln -s /etc/pki/tls/certs/ca-bundle.crt certs/ca-bundle.crt
 
 %check
 make test
@@ -79,6 +83,10 @@ make test
 
 
 %changelog
+* Wed Sep 07 2011 Petr Sabata <contyk at redhat.com> - 0.58-7
+- Link to the ca-certificates ca-bundle.crt instead of shipping our own,
+  outdated copy (#734385)
+
 * Fri Jul 22 2011 Petr Pisar <ppisar at redhat.com> - 0.58-6
 - RPM 4.9 dependency filtering added
 


More information about the scm-commits mailing list