[openstack-glance/el6-havana] depend on python-oslo-config >= 1.2

John Bresnahan buzztroll at fedoraproject.org
Sat Sep 21 01:07:56 UTC 2013


commit fb00e50154a696bd2e10c93d8d1bfe62991f820a
Author: John Bresnahan <jbresnah at redhat.com>
Date:   Fri Sep 20 12:38:40 2013 -1000

    depend on python-oslo-config >= 1.2

 openstack-glance.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/openstack-glance.spec b/openstack-glance.spec
index cf60842..692f9b3 100644
--- a/openstack-glance.spec
+++ b/openstack-glance.spec
@@ -1,3 +1,6 @@
+%global release_name havana
+%global milestone 3
+
 Name:             openstack-glance
 Version:          2013.2
 Release:          0.8.b3%{?dist}
@@ -6,7 +9,7 @@ Summary:          OpenStack Image Service
 Group:            Applications/System
 License:          ASL 2.0
 URL:              http://glance.openstack.org
-Source0:          https://launchpad.net/glance/havana/havana-3/+download/glance-2013.2.b3.tar.gz
+Source0:          https://launchpad.net/glance/%{release_name}/%{release_name}-%{milestone}/+download/glance-%{version}.b%{milestone}.tar.gz
 Source1:          openstack-glance-api.init
 Source100:        openstack-glance-api.upstart
 Source2:          openstack-glance-registry.init
@@ -76,7 +79,7 @@ Requires:         pyxattr
 Requires:         python-swiftclient
 Requires:         python-cinderclient
 Requires:         python-keystoneclient
-Requires:         python-oslo-config
+Requires:         python-oslo-config >= 1:1.2.0
 
 #test deps: python-mox python-nose python-requests
 #test and optional store:
@@ -109,8 +112,8 @@ and delivery services for virtual disk images.
 This package contains documentation files for glance.
 
 %prep
-%setup -q -n glance-%{version}.b3
-sed -i 's/%{version}.b3/%{version}/' PKG-INFO
+%setup -q -n glance-%{version}.b%{milestone}
+sed -i 's/%{version}.b%{milestone}/%{version}/' PKG-INFO
 %patch0001 -p1
 %patch0002 -p1
 %patch0003 -p1


More information about the scm-commits mailing list