[python-ceilometerclient/el6] Update to upstream version 1.0.0.

Jakub Ruzicka jruzicka at fedoraproject.org
Mon Apr 1 13:00:06 UTC 2013


commit ee89ce6a191bcb61b5ddb0094d433048526bbaeb
Author: Jakub Ruzicka <jruzicka at redhat.com>
Date:   Mon Apr 1 14:25:51 2013 +0200

    Update to upstream version 1.0.0.
    
    - Added Requires: python-keystoneclient >= 0.1.2.
    - 'nature' theme is not available in current sphinx version, use default.

 .gitignore                   |    1 +
 python-ceilometerclient.spec |   24 ++++++++++++++----------
 sources                      |    2 +-
 3 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1b42d7c..c9718c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /0.0.10.d84fd99.tar.gz
+/python-ceilometerclient-1.0.0.tar.gz
diff --git a/python-ceilometerclient.spec b/python-ceilometerclient.spec
index fd2d82e..be51504 100644
--- a/python-ceilometerclient.spec
+++ b/python-ceilometerclient.spec
@@ -1,24 +1,23 @@
-%global commit_hash d84fd99
-
 Name:             python-ceilometerclient
-Version:          0.0.10
-Release:          0.2.git%{commit_hash}%{?dist}
+Version:          1.0.0
+Release:          1%{?dist}
 Summary:          Python API and CLI for OpenStack Ceilometer
 
 Group:            Development/Languages
 License:          ASL 2.0
 URL:              https://github.com/openstack/%{name}
-Source0:          https://github.com/redhat-openstack/%{name}/archive/%{version}.%{commit_hash}.tar.gz
+Source0:          https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
 
 BuildArch:        noarch
 BuildRequires:    python-setuptools
 BuildRequires:    python2-devel
 
+Requires:         python-setuptools
 Requires:         python-argparse
 Requires:         python-prettytable >= 0.6
 Requires:         python-prettytable < 0.7
-Requires:         python-setuptools
 Requires:         python-iso8601 >= 0.1.4
+Requires:         python-keystoneclient >= 0.1.2
 
 #
 # patches_base=0.0.10.d84fd99
@@ -45,7 +44,7 @@ This package contains auto-generated documentation.
 
 
 %prep
-%setup -qn %{name}-%{version}.%{commit_hash}
+%setup -q
 
 # Remove bundled egg-info.
 rm -rf python_novaclient.egg-info
@@ -54,12 +53,12 @@ rm -rf python_novaclient.egg-info
 # TODO: Have the following handle multi line entries.
 sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
 
-# There is no version yet.
-sed -i 's/setup\.get_version(project)/"%{version}.%{commit_hash}"/' setup.py
-
 # MANIFEST.in contains mostly non-existent files, delete it.
 rm -f 'MANIFEST.in'
 
+# "nature" theme is not available in epel sphinx distribution
+sed -i "s/^\(html_theme = 'nature'\)$/#\1/" doc/source/conf.py
+
 
 %build
 %{__python} setup.py build
@@ -87,6 +86,11 @@ rm -rf html/.doctrees html/.buildinfo
 %doc html
 
 %changelog
+* Mon Apr 01 2013 Jakub Ruzicka <jruzicka at redhat.com> 1.0.0
+- Update to upstream version 1.0.0.
+- Added Requires: python-keystoneclient >= 0.1.2.
+- 'nature' theme is not available in current sphinx version, use default.
+
 * Tue Mar 26 2013 Jakub Ruzicka <jruzicka at redhat.com> 0.0.10-0.2.gitd84fd99
 - Add BuildRequires: python2-devel.
 
diff --git a/sources b/sources
index da1212a..549ff24 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-90b1f12cf05230b0591203c28832ee02  0.0.10.d84fd99.tar.gz
+d300d8c4dc020b4f9a1f521cbb8d0102  python-ceilometerclient-1.0.0.tar.gz


More information about the scm-commits mailing list