[openstack-glance] remove python runtime dep management

Pádraig Brady pbrady at fedoraproject.org
Tue Jul 23 18:40:36 UTC 2013


commit 35621a08e16ee34f1b9359057bd2e3d6cda1b724
Author: Pádraig Brady <P at draigBrady.com>
Date:   Tue Jul 23 19:35:14 2013 +0100

    remove python runtime dep management

 openstack-glance.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/openstack-glance.spec b/openstack-glance.spec
index a15fde1..8757b55 100644
--- a/openstack-glance.spec
+++ b/openstack-glance.spec
@@ -1,6 +1,6 @@
 Name:             openstack-glance
 Version:          2013.2
-Release:          0.4.b2%{?dist}
+Release:          0.5.b2%{?dist}
 Summary:          OpenStack Image Service
 
 Group:            Applications/System
@@ -109,6 +109,10 @@ sed -i '/\/usr\/bin\/env python/d' glance/common/config.py glance/common/crypt.p
 # versioninfo is missing in f3 tarball
 echo %{version} > glance/versioninfo
 
+# Remove the requirements file so that pbr hooks don't add it
+# to distutils requiers_dist config
+rm -rf {test-,}requirements.txt tools/{pip,test}-requires
+
 %build
 
 # Change the default config
@@ -275,7 +279,7 @@ fi
 %doc doc/build/html
 
 %changelog
-* Tue Jul 23 2013 Pádraig Brady <pbrady at redhat.com> 2013.2-0.4.b2
+* Tue Jul 23 2013 Pádraig Brady <pbrady at redhat.com> 2013.2-0.5.b2
 - Update to Havana milestone 2
 - Depend on python-keystoneclient for auth_token middleware
 


More information about the scm-commits mailing list