Hello community,

here is the log from the commit of package python-glanceclient.1922 for 
openSUSE:12.3:Update checked in at 2013-08-13 22:45:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/python-glanceclient.1922 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.python-glanceclient.1922.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-glanceclient.1922"

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

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ 
/work/SRC/openSUSE:12.3:Update/.python-glanceclient.1922.new/python-glanceclient.changes
    2013-08-13 22:45:01.000000000 +0200
@@ -0,0 +1,140 @@
+-------------------------------------------------------------------
+Mon Aug  5 08:37:29 UTC 2013 - [email protected]
+
+- Add glanceclient-ssl-checks.patch: Fix SSL certificate CNAME
+  checking (bnc#831947)
+
+-------------------------------------------------------------------
+Wed Dec 19 15:14:51 UTC 2012 - [email protected]
+
+- Fix python-keystoneclient _module_ requirement, our packages
+  have a different versioning scheme (but we provide the same thing)
+
+--------------------------------------------------------------------
+Wed Dec 19 11:23:06 UTC 2012 - [email protected]
+
+- Move to obs-service-git_tarballs
+  + Drop BuildRequires: python-setuptools-git
+- Update to version 0.6.0.14.gc057fe4+git.1355912586.c057fe4:
+  + Document v0.7.0 release
+  + Support --os-cacert
+  + Update --location help to reference swift store.
+  + Change default image sort to use name
+  + Add --sort-key and --sort-dir to image-list
+  + Pin pep8 to 1.3.3
+  + Allow setting x-image-meta-store through shell on image creation
+  + Verify that host matches certificate
+  + Document bugs/features for v0.6.0
+  + Hook up region_name argument
+  + Simplify human-readable size output
+  + Make image sizes more readable for humans
+  + Set useful boolean flag metavars
+  + Unpin keystoneclient dependency
+  + Fixes bug on Windows related to a wrong API url
+  + Enhance --checksum help with algorithm
+  + added --version as new parameter
+- Add " --install-data=%{python_sitelib}" parameter to "setup.py install"
+  to make sure the versioninfo file is installed correctly
+
+-------------------------------------------------------------------
+Wed Dec  5 09:28:43 UTC 2012 - [email protected]
+
+- Use @PARENT_TAG@ in _service file to automate versioning
+
+-------------------------------------------------------------------
+Tue Dec  4 14:43:11 UTC 2012 - [email protected]
+
+- Drop glanceclient-setup-no-requires.patch:
+  + That makes no sense, 
http://packages.python.org/distribute/setuptools.html#new-and-changed-setup-keywords
+- BuildRequire python-setuptools-git:
+  + Better than sed in setup.py, all others have it too
+
+-------------------------------------------------------------------
+Tue Dec  4 13:59:52 UTC 2012 - [email protected]
+
+- Fix test requires
+
+-------------------------------------------------------------------
+Thu Nov 15 12:38:56 UTC 2012 - [email protected]
+
+- Use openstack-macros
+
+-------------------------------------------------------------------
+Fri Nov  9 14:27:22 UTC 2012 - [email protected]
+
+- Downgrade version to new upstream scheme: 0.5.1 (bnc#787387)
+
+-------------------------------------------------------------------
+Thu Nov  8 10:49:49 UTC 2012 - [email protected]
+
+- Drop from_vcs build flag
+
+-------------------------------------------------------------------
+Wed Oct 31 13:57:27 UTC 2012 - [email protected]
+
+- Re-add missing openstack-glance.sh
+
+-------------------------------------------------------------------
+Fri Oct 12 13:49:57 UTC 2012 - [email protected]
+
+- Update to version 2012.2 (Folsom), which is really 0.5.1:
+  + See https://github.com/openstack/python-glanceclient/commits/0.5.1
+- Install bash completion for 'glance' binary
+- Dropped patches merged upstream:
+  + honor-insecure-flag-keystone.patch
+  + add-handler-for-logger.patch
+- Buildrequire python-base instead of python-devel:
+  + Sufficient for Python-only modules (containing no C/C++ code)
+
+-------------------------------------------------------------------
+Thu Sep 13 09:18:30 UTC 2012 - [email protected]
+
+- Add add-handler-for-logger.patch: remove cryptic "No handlers
+  could be found for logger" error message. Fix bnc#780048.
+
+-------------------------------------------------------------------
+Tue Aug 14 11:37:34 UTC 2012 - [email protected]
+
+- Do not conflict with openstack-glance
+
+-------------------------------------------------------------------
+Thu Aug  2 14:26:54 CEST 2012 - [email protected]
+
+- Add patch to remove strict dependency checks in setup.py
+
+-------------------------------------------------------------------
+Fri Jul 27 10:12:09 UTC 2012 - [email protected]
+
+- Add requirement on python-warlock
+
+-------------------------------------------------------------------
+Thu Jul 26 14:25:39 UTC 2012 - [email protected]
+
+- Honor '--insecure' commandline flag also for keystone authentication
+
+-------------------------------------------------------------------
+Thu Jul 26 10:37:47 UTC 2012 - [email protected]
+
+- Require python-distribute, /usr/bin/glance needs it
+
+-------------------------------------------------------------------
+Mon Jul 23 09:34:05 UTC 2012 - [email protected]
+
+- Require python-keystoneclient
+
+-------------------------------------------------------------------
+Tue Jul 10 13:11:34 UTC 2012 - [email protected]
+
+- Add '--insecure' commandline argument to ignore (amongst others)
+  self-signed certificate errors
+
+-------------------------------------------------------------------
+Tue Jul  3 11:41:55 UTC 2012 - [email protected]
+
+- Conflict on openstack-glance, it also ships /usr/bin/glance
+
+-------------------------------------------------------------------
+Fri Jun 29 13:40:46 UTC 2012 - [email protected]
+
+- Initial version
+

New:
----
  _service
  glanceclient-ssl-checks.patch
  openstack-glance.sh
  python-glanceclient-master.tar.gz
  python-glanceclient.changes
  python-glanceclient.spec
  rpmlintrc

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

Other differences:
------------------
++++++ python-glanceclient.spec ++++++
#
# spec file for package python-glanceclient
#
# Copyright (c) 2013 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/
#


%define component glanceclient

Name:           python-glanceclient
Version:        0.6.0.14.gc057fe4+git.1355912586.c057fe4
Release:        0
Summary:        Openstack Image (Glance) API Client
License:        Apache-2.0
Group:          Development/Languages/Python
Url:            http://launchpad.net/python-glanceclient
Source:         python-glanceclient-master.tar.gz
Source2:        openstack-glance.sh
# PATCH-FIX-UPSTREAM [email protected] -- Backport of 
https://review.openstack.org/#/c/33464
Patch1:         glanceclient-ssl-checks.patch
BuildRequires:  openstack-macros
BuildRequires:  python-base
BuildRequires:  python-distribute
Requires:       python >= 2.6.8
# /usr/bin/glance uses pkg_resources, thus:
Requires:       python-distribute
Requires:       python-httplib2
Requires:       python-keystoneclient
Requires:       python-prettytable
Requires:       python-warlock
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%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
This is a client for the Glance which uses the OpenStack Image API. There's
a Python API (the glanceclient module), and a command-line tool (glance).

%package test
Summary:        Openstack Image (Glance) API Client - Testsuite
Group:          System/Management
Requires:       %{name} = %{version}
Requires:       python-mock
Requires:       python-mox
Requires:       python-nose
Requires:       python-nose-exclude
Requires:       python-nosehtmloutput
Requires:       python-nosexcover
Requires:       python-openstack.nose_plugin
Requires:       python-tox
Requires:       python-unittest2

%description test
This package contains testsuite files for %{name}.

%prep
%setup -q -n python-glanceclient-0.6.0.14.gc057fe4
%openstack_cleanup_prep
%patch1 -p1
# Our package versioning scheme is different (but we provide the correct thing) 
thus:
sed -i "s|python-keystoneclient>=0.1.2,<1|python-keystoneclient|" 
tools/pip-requires

%build
python setup.py build
# Just a small index.rst so far, so no need to build the doc
#python setup.py build_sphinx
#python setup.py build_sphinx -b man

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

### bash-completion
install -p -D -m 644 %{SOURCE2} 
%{buildroot}%{_sysconfdir}/bash_completion.d/openstack-glance.sh

### test subpackage
%openstack_test_package_install

%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%doc doc/source/index.rst
%{_sysconfdir}/bash_completion.d/openstack-glance.sh
%{_bindir}/glance
%{python_sitelib}/%{component}/
%{python_sitelib}/python_%{component}-*.egg-info

%files test
%defattr(-,root,root,-)
%{_localstatedir}/lib/%{name}-test/

%changelog
++++++ _service ++++++
<services>
  <service name="git_tarballs" mode="disabled">
    <param 
name="url">http://tarballs.openstack.org/python-glanceclient/python-glanceclient-master.tar.gz</param>
    <param name="email">[email protected]</param>
  </service>
</services>
++++++ glanceclient-ssl-checks.patch ++++++
diff -ruN a/glanceclient/common/http.py b/glanceclient/common/http.py
--- a/glanceclient/common/http.py       2012-12-12 01:06:38.000000000 +0100
+++ b/glanceclient/common/http.py       2013-08-05 10:38:29.120399282 +0200
@@ -291,11 +291,13 @@
 
     def verify_callback(self, connection, x509, errnum,
                         depth, preverify_ok):
+        # NOTE(leaman): preverify_ok may be a non-boolean type
+        preverify_ok = bool(preverify_ok)
         if x509.has_expired():
             msg = "SSL Certificate expired on '%s'" % x509.get_notAfter()
             raise exc.SSLCertificateError(msg)
 
-        if depth == 0 and preverify_ok is True:
+        if depth == 0 and preverify_ok:
             # We verify that the host matches against the last
             # certificate in the chain
             return self.host_matches_cert(self.host, x509)
++++++ openstack-glance.sh ++++++
# bash completion for openstack glance
# by Dominik Heidler <dheidler suse.de>

_glance_opts="" # lazy init
_glance_opts_exp="" # lazy init
_glance()
{
   local cur prev
   COMPREPLY=()
   cur="${COMP_WORDS[COMP_CWORD]}"
   prev="${COMP_WORDS[COMP_CWORD-1]}"

   if [ "x$_glance_opts" == "x" ] ; then
       _glance_opts="`glance bash-completion 2>/dev/null | sed -e 
'/^\s\s\s\s\w/!d' -e "s/\s*\([a-z0-9_-]*\)\s.*/\1/"`"
       _glance_opts_exp="`echo $_glance_opts | sed -e "s/\s/|/g"`"
   fi

   if [[ ! " ${COMP_WORDS[@]} " =~ " "($_glance_opts_exp)" " || "$prev" == 
"help" ]] ; then
       COMPREPLY=($(compgen -W "${_glance_opts}" -- ${cur}))  
   fi
   return 0
}
complete -F _glance glance
++++++ rpmlintrc ++++++
# Bash completion files reside in /etc but are not meant to be configurable:
addFilter("non-conffile-in-etc /etc/bash_completion.d/openstack-glance.sh")
# This symling is for the -test package and can be ignored:
addFilter("dangling-symlink /var/lib/python-glanceclient-test/glanceclient")
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to