[python-novaclient] Update to upstream 2.16.0
Jakub Ruzicka
jruzicka at fedoraproject.org
Thu Feb 27 15:21:44 UTC 2014
commit fe58fbef898851f0296c2bb5cb0d9ced31869f74
Author: Jakub Ruzicka <jruzicka at redhat.com>
Date: Wed Feb 26 21:05:09 2014 +0100
Update to upstream 2.16.0
.gitignore | 1 +
0001-Remove-runtime-dependency-on-python-pbr.patch | 15 +++++-
0002-Prevent-pbr-dependencies-handling.patch | 53 --------------------
python-novaclient.spec | 13 +++--
sources | 2 +-
5 files changed, 23 insertions(+), 61 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2b9b063..fa7f80a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/python-novaclient-2.13.0.tar.gz
/python-novaclient-2.14.1.tar.gz
/python-novaclient-2.15.0.tar.gz
+/python-novaclient-2.16.0.tar.gz
diff --git a/0001-Remove-runtime-dependency-on-python-pbr.patch b/0001-Remove-runtime-dependency-on-python-pbr.patch
index e29f5b9..cd20bff 100644
--- a/0001-Remove-runtime-dependency-on-python-pbr.patch
+++ b/0001-Remove-runtime-dependency-on-python-pbr.patch
@@ -1,11 +1,12 @@
-From 7d223685958931ec3d3833cd154314e5bd99de55 Mon Sep 17 00:00:00 2001
+From 56e2340aa95609ed229f177e1270adbd10154e18 Mon Sep 17 00:00:00 2001
From: Jakub Ruzicka <jruzicka at redhat.com>
Date: Wed, 7 Aug 2013 19:35:08 +0200
Subject: [PATCH] Remove runtime dependency on python-pbr
---
novaclient/__init__.py | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
+ setup.py | 1 -
+ 2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/novaclient/__init__.py b/novaclient/__init__.py
index bfa7553..18e8783 100644
@@ -20,3 +21,13 @@ index bfa7553..18e8783 100644
-
-__version__ = pbr.version.VersionInfo('python-novaclient').version_string()
+__version__ = "REDHATNOVACLIENTVERSION"
+diff --git a/setup.py b/setup.py
+index 70c2b3f..afab729 100644
+--- a/setup.py
++++ b/setup.py
+@@ -18,5 +18,4 @@
+ import setuptools
+
+ setuptools.setup(
+- setup_requires=['pbr'],
+ pbr=True)
diff --git a/python-novaclient.spec b/python-novaclient.spec
index f6f8386..377f034 100644
--- a/python-novaclient.spec
+++ b/python-novaclient.spec
@@ -1,7 +1,7 @@
Name: python-novaclient
Epoch: 1
-Version: 2.15.0
-Release: 1%{?dist}
+Version: 2.16.0
+Release: 2%{?dist}
Summary: Python API and CLI for OpenStack Nova
Group: Development/Languages
@@ -11,10 +11,9 @@ Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{ver
#
-# patches_base=2.15.0
+# patches_base=2.16.0
#
Patch0001: 0001-Remove-runtime-dependency-on-python-pbr.patch
-Patch0002: 0002-Prevent-pbr-dependencies-handling.patch
BuildArch: noarch
BuildRequires: python-setuptools
@@ -54,7 +53,6 @@ This package contains auto-generated documentation.
%setup -q
%patch0001 -p1
-%patch0002 -p1
# We provide version like this in order to remove runtime dep on pbr.
sed -i s/REDHATNOVACLIENTVERSION/%{version}/ novaclient/__init__.py
@@ -62,6 +60,8 @@ sed -i s/REDHATNOVACLIENTVERSION/%{version}/ novaclient/__init__.py
# Remove bundled egg-info
rm -rf python_novaclient.egg-info
+# Let RPM handle the requirements
+rm -f {,test-}requirements.txt
%build
%{__python} setup.py build
@@ -97,6 +97,9 @@ rm -fr html/.doctrees html/.buildinfo
%doc html
%changelog
+* Wed Feb 26 2014 Jakub Ruzicka <jruzicka at redhat.com> 2.16.0-2
+- Update to upstream 2.16.0
+
* Thu Sep 19 2013 Jakub Ruzicka <jruzicka at redhat.com>
- Update to upstream 2.15.0
- Add python-babel dependency
diff --git a/sources b/sources
index 5312600..ae02733 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b3153d2ddacda126f5d4136ecc6e30a2 python-novaclient-2.15.0.tar.gz
+d81ce6367a43234de96f113851f9ef97 python-novaclient-2.16.0.tar.gz
More information about the scm-commits
mailing list