diff --git a/python-openshift.spec b/python-openshift.spec index 5f0446e..ccec97e 100644 --- a/python-openshift.spec +++ b/python-openshift.spec @@ -98,7 +98,7 @@ Python client for the OpenShift API #there is no include in RHEL7 setuptools find_packages #the requirements are also done in an non-backwards compatible way %if 0%{?rhel} -sed -i -e "s/find_packages(include='openshift.*')/['openshift', 'openshift.ansiblegen', 'openshift.client', 'openshift.client.apis', 'openshift.client.models', 'openshift.config', 'openshift.docs', 'openshift.dynamic', 'openshift.helper', 'openshift.test']/g" setup.py +sed -i -e "s/find_packages(include='openshift.*')/['openshift', 'openshift.dynamic', 'openshift.helper']/g" setup.py sed -i -e "49d" setup.py %endif