From d615b492386807867b775f056746407e0abc9a17 Mon Sep 17 00:00:00 2001 From: jorton Date: Apr 02 2008 12:25:44 +0000 Subject: - use the OpenSSL CA bundle --- diff --git a/neon.spec b/neon.spec index a48b8ae..0920c76 100644 --- a/neon.spec +++ b/neon.spec @@ -1,7 +1,7 @@ Summary: An HTTP and WebDAV client library Name: neon Version: 0.28.1 -Release: 2 +Release: 3 License: LGPLv2+ Group: System Environment/Libraries URL: http://www.webdav.org/neon/ @@ -10,6 +10,8 @@ Patch0: neon-0.27.0-multilib.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: expat-devel, gnutls-devel, zlib-devel, krb5-devel BuildRequires: pkgconfig, pakchois-devel +# For /etc/pki/tls/certs/ca-bundle.crt: +Requires: openssl Conflicts: subversion < 0.22.2-4 %description @@ -35,8 +37,10 @@ The development library for the C language HTTP and WebDAV client library. %build export CC="%{__cc} -pthread" +# Use standard OpenSSL-provided CA bundle: +%define cabundle %{_sysconfdir}/pki/tls/certs/ca-bundle.crt %configure --with-expat --enable-shared --disable-static \ - --enable-warnings \ + --enable-warnings --with-ca-bundle=%{cabundle} \ --with-ssl=gnutls --enable-threadsafe-ssl=posix make %{?_smp_mflags} @@ -72,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.so %changelog +* Wed Apr 2 2008 Joe Orton 0.28.1-3 +- use the OpenSSL CA bundle + * Mon Mar 10 2008 Joe Orton 0.28.1-2 - update to 0.28.1