Hello community,

here is the log from the commit of package python-novaclient for 
openSUSE:Factory checked in at 2013-06-13 21:45:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-novaclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-novaclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-novaclient"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-novaclient/python-novaclient.changes      
2013-04-29 14:17:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-novaclient.new/python-novaclient.changes 
2013-06-13 21:45:01.000000000 +0200
@@ -1,0 +2,21 @@
+Wed May 29 10:49:56 UTC 2013 - [email protected]
+
+- remove setBadness call from rpmlintrc
+
+-------------------------------------------------------------------
+Mon May  6 11:29:00 UTC 2013 - [email protected]
+
+- update requires to python-PrettyTable 
+
+-------------------------------------------------------------------
+Mon Apr 29 09:51:33 UTC 2013 - [email protected]
+
+- add 0001-Restore-compatibility-with-PrettyTable-0.7.2-update.patch
+
+-------------------------------------------------------------------
+Mon Apr 22 12:23:36 UTC 2013 - [email protected]
+
+- update to 2.13.0
+- remove upstreamed patch 
+
+-------------------------------------------------------------------

Old:
----
  novaclient-prettytable.patch
  python-novaclient-2.12.0.tar.gz

New:
----
  0001-Restore-compatibility-with-PrettyTable-0.7.2-update.patch
  python-novaclient-2.13.0.tar.gz

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

Other differences:
------------------
++++++ python-novaclient.spec ++++++
--- /var/tmp/diff_new_pack.Fz9lUI/_old  2013-06-13 21:45:02.000000000 +0200
+++ /var/tmp/diff_new_pack.Fz9lUI/_new  2013-06-13 21:45:02.000000000 +0200
@@ -19,30 +19,29 @@
 %define component novaclient
 
 Name:           python-%{component}
-Version:        2.12.0
+Version:        2.13.0
 Release:        0
 Summary:        Openstack Compute (Nova) API Client
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://launchpad.net/python-novaclient
-Source:         python-novaclient-2.12.0.tar.gz
+Source:         python-novaclient-2.13.0.tar.gz
 Source2:        openstack-nova.sh
-#PATCH-FIX-UPSTREAM [email protected] -- Backport of 
https://review.openstack.org/#/c/22680/
-Patch0:         novaclient-prettytable.patch
+Patch0:         0001-Restore-compatibility-with-PrettyTable-0.7.2-update.patch
 BuildRequires:  openstack-suse-macros
 BuildRequires:  python-base
 BuildRequires:  python-distribute
 # Packages below are only needed for documentation build
+BuildRequires:  python-PrettyTable
 BuildRequires:  python-Sphinx
 BuildRequires:  python-iso8601 >= 0.1.4
-BuildRequires:  python-prettytable
 BuildRequires:  python-requests
 Requires:       python >= 2.6.8
 # /usr/bin/nova uses pkg_resources, thus:
+Requires:       python-PrettyTable >= 0.6
 Requires:       python-argparse
 Requires:       python-distribute
 Requires:       python-iso8601 >= 0.1.4
-Requires:       python-prettytable >= 0.6
 Requires:       python-requests >= 0.8
 Requires:       python-simplejson >= 2.0.9
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -87,7 +86,7 @@
 This package contains testsuite files for %{name}.
 
 %prep
-%setup -q -n python-novaclient-2.12.0
+%setup -q -n python-novaclient-2.13.0
 %patch0 -p1
 %openstack_cleanup_prep
 

++++++ 0001-Restore-compatibility-with-PrettyTable-0.7.2-update.patch ++++++
>From 04acf3abacfbae806db6563308015eb5dd9262e8 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <[email protected]>
Date: Mon, 29 Apr 2013 10:58:58 +0200
Subject: [PATCH] Restore compatibility with PrettyTable 0.7.2 update

This reverts commit 69f9971da54b46a8883148e4cef6346c7933b6ec

PrettyTable 0.7.2 defaults to print a table even if
the resultset is empty, which breaks the unit test and
also backward compatibilty. Restore previous behavior
to be in line with older prettytable releases.

Fixes bug 1166464

Change-Id: Ifaf5a91cefab1e85a35c5371793331c6bf83def4
---
 novaclient/utils.py | 4 ++--
 tests/test_shell.py | 6 +-----
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/novaclient/utils.py b/novaclient/utils.py
index 280bef0..c83a8d2 100644
--- a/novaclient/utils.py
+++ b/novaclient/utils.py
@@ -147,7 +147,7 @@ def print_list(objs, fields, formatters={}, sortby_index=0):
     else:
         sortby = fields[sortby_index]
     mixed_case_fields = ['serverId']
-    pt = prettytable.PrettyTable([f for f in fields], caching=False)
+    pt = prettytable.PrettyTable([f for f in fields], caching=False, 
print_empty=False)
     pt.align = 'l'
 
     for o in objs:
@@ -171,7 +171,7 @@ def print_list(objs, fields, formatters={}, sortby_index=0):
 
 
 def print_dict(d, dict_property="Property", wrap=0):
-    pt = prettytable.PrettyTable([dict_property, 'Value'], caching=False)
+    pt = prettytable.PrettyTable([dict_property, 'Value'], caching=False, 
print_empty=False)
     pt.align = 'l'
     for k, v in d.iteritems():
         # convert dict to str to check length
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Fz9lUI/_old  2013-06-13 21:45:02.000000000 +0200
+++ /var/tmp/diff_new_pack.Fz9lUI/_new  2013-06-13 21:45:02.000000000 +0200
@@ -1,7 +1,7 @@
 <services>
   <service name="git_tarballs" mode="disabled">
-    <param 
name="url">http://tarballs.openstack.org/python-novaclient/python-novaclient-2.12.0.tar.gz</param>
-    <param name="email">[email protected]</param>
+    <param 
name="url">http://tarballs.openstack.org/python-novaclient/python-novaclient-2.13.0.tar.gz</param>
+    <param name="email">[email protected]</param>
     <param name="plain-version">True</param>
   </service>
 </services>

++++++ python-novaclient-2.12.0.tar.gz -> python-novaclient-2.13.0.tar.gz ++++++
++++ 9183 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to