[python-savannaclient] Intermediate version, works with pbr 0.5.19
matt
matt at fedoraproject.org
Sun Sep 1 20:10:27 UTC 2013
commit d6baec4b61d25227ffdd1216ee40e24766a75a1f
Author: Matthew Farrellee <matt at redhat.com>
Date: Wed Aug 28 22:39:07 2013 -0400
Intermediate version, works with pbr 0.5.19
python-savannaclient.spec | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/python-savannaclient.spec b/python-savannaclient.spec
index cb76c44..28502bd 100644
--- a/python-savannaclient.spec
+++ b/python-savannaclient.spec
@@ -1,23 +1,17 @@
-%global commit f8163866fb2086a574125b7b380dba54b7c74dee
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
Name: python-savannaclient
-Version: 0.3
+Version: 4e941de
Release: 0.1.%{shortcommit}git%{?dist}
Summary: Client library for OpenStack Savanna API
License: ASL 2.0
URL: https://launchpad.net/savanna
-# Note: github.com/.../archive/blah.tar.gz won't work here because pbr
-# needs an sdist tarball
-# wget -O python-savannaclient-%%{shortcommit}.tar.gz http://tarballs.openstack.org/python-savannaclient/python-savannaclient-master.tar.gz
-Source0: python-savannaclient-%{shortcommit}.tar.gz
+Source0: http://tarballs.openstack.org/savanna/python-savannaclient-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-setuptools
BuildRequires: python2-devel
BuildRequires: python-d2to1
-BuildRequires: python-pbr
+BuildRequires: python-pbr >= 0.5.19
Requires: python-iso8601
Requires: python-requests
@@ -32,10 +26,10 @@ Python client library for interacting with OpenStack Savanna API.
%prep
-%setup -q -n python-savannaclient-%{shortcommit}
-
+%setup -q
rm -rf python_savannaclient.egg-info
rm -rf {test-,}requirements.txt
+sed -i 's/0.5.21/0.5.19/' setup.py
%build
More information about the scm-commits
mailing list