-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
In RDO packaging, we use rm -rf requirements.txt/test-requirements.txt in order to
avoid python package installation from pip during rpm package building process.
Since from Pike release, we have to replace this step with rpm macro %py_req_cleanup.
How to reproduce:
- Clone openstack-nova spec file git clone https://github.com/rdo-packages/nova-distgit
- Go to nova-distgit and open openstack-nova.spec in editor.
- You can find rm -rf {test-,}requirements.txt tools/{pip,test}-requires under %prep section
in spec file.
How to fix:
- Replace ** rm -rf {test-,}requirements.txt tools/{pip,test}-requires ** with %py_req_cleanup
- Add BuildRequires: openstack-macros just below description section of main package.
- Add the changes file, commit it and send a Gerrit review.
Below is the list of packages which need same fixes:
- openstack-nova
- openstack-glance
- openstack-cinder
- openstack-swift
- openstack-neutron
- openstack-keystone
Mentor: chandankumar
Note: Pick one of the package and comment in the comment box with review link.
Metadata
Metadata
Assignees
Labels
No labels