[openstack-ceilometer] remove python runtime dependency management

Pádraig Brady pbrady at fedoraproject.org
Tue Aug 27 22:09:57 UTC 2013


commit c45b7e133be8e08efb17b570f680a82ad2357737
Author: Pádraig Brady <P at draigBrady.com>
Date:   Tue Aug 27 23:04:32 2013 +0100

    remove python runtime dependency management

 openstack-ceilometer.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/openstack-ceilometer.spec b/openstack-ceilometer.spec
index 3d2d3d7..78af757 100644
--- a/openstack-ceilometer.spec
+++ b/openstack-ceilometer.spec
@@ -4,7 +4,7 @@
 
 Name:             openstack-ceilometer
 Version:          2013.2
-Release:          0.3.b1%{?dist}
+Release:          0.4.b1%{?dist}
 Summary:          OpenStack measurement collection service
 
 Group:            Applications/System
@@ -192,6 +192,10 @@ find ceilometer -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
 # TODO: Have the following handle multi line entries
 sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
 
+# Remove the requirements file so that pbr hooks don't add it
+# to distutils requires_dist config
+rm -rf {test-,}requirements.txt tools/{pip,test}-requires
+
 %build
 %{__python} setup.py build
 
@@ -392,6 +396,9 @@ fi
 
 
 %changelog
+* Tue Aug 27 2013 Pádraig Brady <pbrady at redhat.com> - 2013.2-0.4.b1
+- Avoid python runtime dependency management
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2013.2-0.3.b1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list