[python-quantumclient] Update to 2.1.10
Robert A. Kukura
rkukura at fedoraproject.org
Mon Dec 3 20:15:48 UTC 2012
commit 28630a319da4f15d382767e630b3f1a70906bae5
Author: Bob Kukura <rkukura at redhat.com>
Date: Mon Dec 3 15:13:33 2012 -0500
Update to 2.1.10
- Add pyparsing dependency
- Deal with hash in tarball name
- Install /etc/bash_completion.d/quantum.bash_completion
.gitignore | 2 +-
python-quantumclient.spec | 25 +++++++++++++++++++------
sources | 2 +-
3 files changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index aa95660..cffa22f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/python-quantumclient-2.1.1.tar.gz
+/python-quantumclient-2.1.10.gf6dcfd8.tar.gz
diff --git a/python-quantumclient.spec b/python-quantumclient.spec
index 2f78dd6..2f43bb7 100644
--- a/python-quantumclient.spec
+++ b/python-quantumclient.spec
@@ -1,20 +1,23 @@
#
-# This is 2.1.1 circa folsom rc2
+# This is 2.1.10 circa 2012.2.1 and grizzly-1
#
Name: python-quantumclient
Epoch: 1
-Version: 2.1.1
-Release: 0%{?dist}
+Version: 2.1.10
+Release: 1%{?dist}
Summary: Python API and CLI for OpenStack Quantum
+%global hash gf6dcfd8
+
Group: Development/Languages
License: ASL 2.0
-URL: https://github.com/openstack/python-quantumclient
+URL: http://launchpad.net/python-quantumclient/
BuildArch: noarch
-Source0: http://tarballs.openstack.org/python-quantumclient/python-quantumclient-%{version}.tar.gz
+Source0: http://tarballs.openstack.org/python-quantumclient/python-quantumclient-%{version}.%{hash}.tar.gz
+Requires: pyparsing
Requires: python-cliff >= 1.0
Requires: python-httplib2
Requires: python-prettytable >= 0.6
@@ -29,7 +32,7 @@ Client library and command line utility for interacting with Openstack
Quantum's API.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}.%{hash}
# Change cliff version requirement (https://bugs.launchpad.net/python-quantumclient/+bug/1049989)
sed -i 's/cliff>=1.2.1/cliff>=1.0/' tools/pip-requires
@@ -40,6 +43,9 @@ sed -i 's/cliff>=1.2.1/cliff>=1.0/' tools/pip-requires
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+# Install other needed files
+install -p -D -m 644 tools/quantum.bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/quantum.bash_completion
+
# Remove unused files
rm -rf %{buildroot}%{python_sitelib}/quantumclient/tests
@@ -49,9 +55,16 @@ rm -rf %{buildroot}%{python_sitelib}/quantumclient/tests
%{_bindir}/quantum
%{python_sitelib}/quantumclient
%{python_sitelib}/*.egg-info
+%{_sysconfdir}/bash_completion.d
%changelog
+* Mon Dec 3 2012 Robert Kukura <rkukura at redhat.com> - 1:2.1.10-1
+- Update to 2.1.10
+- Add pyparsing dependency
+- Deal with hash in tarball name
+- Install /etc/bash_completion.d/quantum.bash_completion
+
* Mon Sep 24 2012 Robert Kukura <rkukura at redhat.com> - 1:2.1.1-0
- Update to 2.1.1
diff --git a/sources b/sources
index 43e7f44..0f2406d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-57dfe8f52da02744be7e85efd4adaa67 python-quantumclient-2.1.1.tar.gz
+63e0109f7e2cf750a6409eec1f3f1661 python-quantumclient-2.1.10.gf6dcfd8.tar.gz
More information about the scm-commits
mailing list