Hello community,

here is the log from the commit of package python-httplib2.645 for 
openSUSE:12.2:Update checked in at 2012-07-18 15:10:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/python-httplib2.645 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.python-httplib2.645.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-httplib2.645", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2012-07-06 19:40:38.919402255 +0200
+++ 
/work/SRC/openSUSE:12.2:Update/.python-httplib2.645.new/python-httplib2.changes 
    2012-07-18 15:10:19.000000000 +0200
@@ -0,0 +1,78 @@
+-------------------------------------------------------------------
+Tue Jul 17 08:24:44 UTC 2012 - [email protected]
+
+- Add missing runtime requirement on python-pyOpenSSL to gain
+  access to 'ssl' module
+
+-------------------------------------------------------------------
+Mon Jul  9 08:47:20 UTC 2012 - [email protected]
+
+- license update: MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+)
+  __init__.py contains code derived from a Google owned Apache project.
+  cacerts.txt is Mozilla triple-licensed.
+
+-------------------------------------------------------------------
+Wed Jun 20 11:41:56 UTC 2012 - [email protected]
+
+- Don't ship private copy of Mozilla NSS certs, use system certs
+  instead (bnc#761162) 
+
+-------------------------------------------------------------------
+Tue Jun  5 09:56:01 UTC 2012 - [email protected]
+
+- update to version 0.7.4
+  * See CHANGELOG for all changes and fixes
+
+-------------------------------------------------------------------
+Thu Dec 22 12:52:35 UTC 2011 - [email protected]
+
+- updated to version 0.7.2
+
+-------------------------------------------------------------------
+Mon Jul 11 14:06:42 CEST 2011 - [email protected]
+
+- updated to version 0.7.1
+  * See CHANGELOG for all changes and fixes
+
+-------------------------------------------------------------------
+Mon Apr 19 13:47:15 CEST 2010 - [email protected]
+
+- update to version 0.6.0:
+  * include python 3 support/compatibility
+
+-------------------------------------------------------------------
+Thu Aug 13 10:55:40 UTC 2009 - [email protected]
+
+- build as noarch
+
+-------------------------------------------------------------------
+Tue Aug  4 10:51:26 UTC 2009 - [email protected]
+
+- updated to version 0.5.0
+  * Fixed the following bugs:
+    #12 - Cache-Control: only-if-cached incorrectly does request if
+          item not in cache 
+    #39 - Deprecation warnings in Python 2.6
+    #54 - Http.request fails accesing Google account via http proxy
+    #56 - Block on response.read() for HEAD requests.
+    #57 - Timeout ignore for Python 2.6
+    #58 - Fixed parsing of Cache-Control: header to make it more
+          robust
+
+-------------------------------------------------------------------
+Tue Sep  9 12:41:28 CEST 2008 - [email protected]
+
+- updated package to version 0.4.0
+  o added support for proxies if the Socksipy module is installed
+  o fixed bug with some HEAD responses having content-length set to
+    zero incorrectly
+  o fixed most except's to catch a specific exception
+  o added 'connection_type' parameter to Http.request()
+  o the default for 'force_exception_to_status_code' was changed to
+    False
+
+-------------------------------------------------------------------
+Sat Oct 21 22:37:29 CEST 2006 - [email protected]
+
+- initial version of python-httplib2 (0.2.0) 
+

New:
----
  httplib2-0.7.4.tar.gz
  httplib2-use-system-certs.patch
  python-httplib2.changes
  python-httplib2.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-httplib2.spec ++++++
#
# spec file for package python-httplib2
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python-httplib2
Version:        0.7.4
Release:        0
Url:            http://bitworking.org/projects/httplib2/
Summary:        A Python HTTP client library
License:        MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+)
Group:          Development/Libraries/Python
Source0:        httplib2-%{version}.tar.gz
# PATCH-FIX-OPENSUSE: Don't ship private copy of Mozilla NSS certs, use system 
certs instead (bnc#761162)
Patch0:         httplib2-use-system-certs.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
#BuildRequires:  python-pyOpenSSL
Requires:       ca-certificates
Requires:       python-pyOpenSSL
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:      noarch
%endif

%description
A comprehensive HTTP client library that supports many features
left out of other HTTP libraries.

%prep
%setup -q -n httplib2-%{version}
%patch0 -p1

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

#%%check
#python python2/httplib2test.py

%files
%defattr(-,root,root)
%doc README
%{python_sitelib}/*

%changelog
++++++ httplib2-use-system-certs.patch ++++++
Only in a/python2/httplib2: cacerts.txt
diff -ru a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py
--- a/python2/httplib2/__init__.py      2012-03-02 21:12:34.000000000 +0100
+++ b/python2/httplib2/__init__.py      2012-06-20 13:30:39.524140796 +0200
@@ -180,9 +180,8 @@
 # requesting that URI again.
 DEFAULT_MAX_REDIRECTS = 5
 
-# Default CA certificates file bundled with httplib2.
-CA_CERTS = os.path.join(
-        os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
+# Use system-wide CA certificates:
+CA_CERTS = '/etc/ssl/ca-bundle.pem'
 
 # Which headers are hop-by-hop headers by default
 HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 
'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
Only in b/python2/httplib2: .__init__.py.swp
Only in a/python3/httplib2: cacerts.txt
diff -ru a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py
--- a/python3/httplib2/__init__.py      2012-03-02 21:12:34.000000000 +0100
+++ b/python3/httplib2/__init__.py      2012-06-20 13:30:22.156140376 +0200
@@ -119,9 +119,8 @@
 # Which headers are hop-by-hop headers by default
 HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 
'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade']
 
-# Default CA certificates file bundled with httplib2.
-CA_CERTS = os.path.join(
-        os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt")
+# Use system-wide CA certificates:
+CA_CERTS = '/etc/ssl/ca-bundle.pem'
 
 def _get_end2end_headers(response):
     hopbyhop = list(HOP_BY_HOP)
Only in b/python3/httplib2: .__init__.py.swp
diff -ru a/setup.py b/setup.py
--- a/setup.py  2012-03-02 21:12:34.000000000 +0100
+++ b/setup.py  2012-06-20 13:28:26.560137617 +0200
@@ -63,7 +63,6 @@
         """,
         package_dir=pkgdir,
         packages=['httplib2'],
-        package_data={'httplib2': ['*.txt']},
         classifiers=[
         'Development Status :: 4 - Beta',
         'Environment :: Web Environment',
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to