From a4102ebf76c95dc9908f02a09f5c46eb3504b272 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Oct 18 2013 11:18:44 +0000 Subject: remove more runtime python dependency checking This caused swift services to fail (but exit 0), with error "xattr>=0.4" https://bugzilla.redhat.com/1020449 --- diff --git a/openstack-swift.spec b/openstack-swift.spec index ce3c3aa..c4fb2fa 100644 --- a/openstack-swift.spec +++ b/openstack-swift.spec @@ -170,6 +170,10 @@ rm -rf swift.egg-info # let RPM handle deps 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 + # Remove dependency on pbr and set version as per rpm sed -i 's/%RPMVERSION%/%{version}/; s/%RPMRELEASE%/%{release}/' swift/__init__.py