[python-heatclient] Update to upstream version 0.2.3.
Jakub Ruzicka
jruzicka at fedoraproject.org
Wed Jul 17 18:50:47 UTC 2013
commit 0c1794ecac9d70f528356101fbd223fbcbe9e86a
Author: Jakub Ruzicka <jruzicka at redhat.com>
Date: Wed Jul 17 19:01:52 2013 +0200
Update to upstream version 0.2.3.
.gitignore | 1 +
python-heatclient.spec | 21 ++++++++++++++++-----
sources | 2 +-
3 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 09abcc3..ddbe359 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/python-heatclient-0.2.1.tar.gz
+/python-heatclient-0.2.3.tar.gz
diff --git a/python-heatclient.spec b/python-heatclient.spec
index 5cd7656..f93d4a5 100644
--- a/python-heatclient.spec
+++ b/python-heatclient.spec
@@ -1,5 +1,5 @@
Name: python-heatclient
-Version: 0.2.1
+Version: 0.2.3
Release: 1%{?dist}
Summary: Python API and CLI for OpenStack Heat
@@ -10,12 +10,15 @@ Source0: http://tarballs.openstack.org/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-setuptools
+BuildRequires: python-d2to1
+BuildRequires: python-pbr
Requires: python-argparse
Requires: python-httplib2
Requires: python-iso8601
Requires: python-keystoneclient
Requires: python-prettytable
+Requires: PyYAML
%description
This is a client for the OpenStack Heat API. There's a Python API (the
@@ -38,15 +41,16 @@ This package contains auto-generated documentation.
%prep
%setup -q
-# TODO: Have the following handle multi line entries
-sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
+# Remove the requirements file so that pbr hooks don't add it
+# to distutils requires_dist config.
+rm -rf {test-,}requirements.txt tools/{pip,test}-requires
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
-mv %{buildroot}/usr/heatclient/versioninfo %{buildroot}%{python_sitelib}/heatclient/versioninfo
+echo "%{version}" > %{buildroot}%{python_sitelib}/heatclient/versioninfo
# Delete tests
rm -fr %{buildroot}%{python_sitelib}/tests
@@ -58,7 +62,7 @@ sphinx-build -b html doc/source html
rm -fr html/.doctrees html/.buildinfo
%files
-%doc LICENSE README.md
+%doc LICENSE README.rst
%{_bindir}/heat
%{python_sitelib}/heatclient
%{python_sitelib}/*.egg-info
@@ -67,5 +71,12 @@ rm -fr html/.doctrees html/.buildinfo
%doc html
%changelog
+* Wed Jul 17 2013 Jakub Ruzicka <jruzicka at redhat.com> 0.2.3-1
+- Updated to upstream version 0.2.3.
+- Add new dependency: PyYAML.
+- Add new build requires: python-d2to1 and python-pbr.
+- Remove requirements.txt file.
+- Generate versioninfo file.
+
* Mon Mar 11 2013 Steven Dake <sdake at redhat.com> 0.2.1-1
- copied from python-novaclient spec file and tailored to suit
diff --git a/sources b/sources
index 0ecc545..b074d73 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f412b6b2fb9bf2a5ce0aa97bb37d1d7d python-heatclient-0.2.1.tar.gz
+4e07ad89a5e21b1fc13d609c6ea70878 python-heatclient-0.2.3.tar.gz
More information about the scm-commits
mailing list