Update to latest upstream SVN

- fixes parsing of IPv6 addresses.
This commit is contained in:
Jan Safranek 2013-08-27 09:39:29 +02:00
parent 7d2261779a
commit 4c04ccea6e
4 changed files with 7 additions and 17 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/pywbem-20130723.tar.xz
/pywbem-20130827.tar.xz

View File

@ -1,12 +0,0 @@
Index: pywbem-20130723/cim_http.py
===================================================================
--- pywbem-20130723.orig/cim_http.py
+++ pywbem-20130723/cim_http.py
@@ -124,6 +124,7 @@ def wbem_request(url, data, creds, heade
from OpenSSL import SSL
ctx = SSL.Context(SSL.SSLv3_METHOD)
ctx.set_verify(SSL.VERIFY_PEER, verify_callback)
+ ctx.set_default_verify_paths()
# Add the key and certificate to the session
if cert_file is not None and key_file is not None:
ctx.use_certificate_file(cert_file)

View File

@ -1,10 +1,10 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%global svnrev 623
%global svnrev 625
%global revdate 20130723
Name: pywbem
Version: 0.7.0
Release: 15.%{revdate}svn%{svnrev}%{?dist}
Release: 16.%{revdate}svn%{svnrev}%{?dist}
Summary: Python WBEM Client and Provider Interface
Group: Development/Libraries
License: LGPLv2
@ -19,7 +19,6 @@ BuildArch: noarch
# fix module imports in /usr/bin/mofcomp
Patch0: pywbem-20130411-mof_compiler-import.patch
Patch1: pywbem-20130723-verify_certificate_paths.patch
%description
A Python library for making CIM (Common Information Model) operations over HTTP
@ -51,7 +50,6 @@ twisted.protocols.http.HTTPClient base class.
%prep
%setup -q -n %{name}-%{revdate}
%patch0 -p1 -b .mofcomp-imports
%patch1 -p1 -b .verify_certificate_paths
%build
# dirty workaround to fix the mof_compiler.py module path
@ -82,6 +80,9 @@ rm -rf %{buildroot}
%{python_sitelib}/pywbem/twisted_client.py*
%changelog
* Tue Aug 27 2013 Jan Safranek <jsafrane@redhat.com>0.7.0-16.20130827svn625
- Fixed parsing of IPv6 addresses.
* Fri Aug 09 2013 Michal Minar <miminar@redhat.com> 0.7.0-15.20130723svn623
- Fixed certificate verification issue.

View File

@ -1 +1 @@
05dba3c856aab93258e25ca6042147a4 pywbem-20130723.tar.xz
c3a015f7511d31a358cea9abf7d35fd2 pywbem-20130827.tar.xz