[python-savannaclient/el6] wip

matt matt at fedoraproject.org
Mon Oct 14 20:02:40 UTC 2013


commit 2331e92df4f36d8ef04ad5b544d4ba0ab92b4a0b
Author: Matthew Farrellee <matt at redhat.com>
Date:   Fri Oct 11 15:43:01 2013 -0400

    wip

 python-savannaclient.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/python-savannaclient.spec b/python-savannaclient.spec
index cb76c44..3739145 100644
--- a/python-savannaclient.spec
+++ b/python-savannaclient.spec
@@ -1,16 +1,11 @@
-%global commit f8163866fb2086a574125b7b380dba54b7c74dee
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
 Name:             python-savannaclient
 Version:          0.3
-Release:          0.1.%{shortcommit}git%{?dist}
+%define suf       .rc3
+Release:          0.2
 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}%{?suf}.tar.gz
 
 BuildArch:        noarch
 
@@ -32,7 +27,7 @@ Python client library for interacting with OpenStack Savanna API.
 
 
 %prep
-%setup -q -n python-savannaclient-%{shortcommit}
+%setup -q -n python-savannaclient-%{version}%{?suf}
 
 rm -rf python_savannaclient.egg-info
 rm -rf {test-,}requirements.txt
@@ -54,5 +49,8 @@ rm -rf {test-,}requirements.txt
 
 
 %changelog
+* Fri Oct 11 2013 Matthew Farrellee <matt at redhat> - 0.3-0.2
+- 0.3 rc3 build
+
 * Sat Aug 17 2013 Matthew Farrellee <matt at redhat> - 0.3-0.1.f816386git
 - Initial package


More information about the scm-commits mailing list