Bug 1440099 - Can't build RPM for patches that modify neutron setup.cfg file on 9.2.0 tag
Summary: Can't build RPM for patches that modify neutron setup.cfg file on 9.2.0 tag
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: z3
: 10.0 (Newton)
Assignee: Daniel Alvarez Sanchez
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On: 1440094
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-07 09:45 UTC by Daniel Alvarez Sanchez
Modified: 2017-06-28 15:31 UTC (History)
8 users (show)

Fixed In Version: openstack-neutron-9.2.0-10.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1440094
Environment:
Last Closed: 2017-06-28 15:31:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1594 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2017-06-28 19:13:28 UTC

Description Daniel Alvarez Sanchez 2017-04-07 09:45:36 UTC
+++ This bug was initially created as a clone of Bug #1440094 +++

Because the setup.cfg included in U/S neutron tarballs [0] include tabs instead of spaces, and patches expect it to have spaces, rpmbuild can't apply patches that modify this file.

Although there's an RFE [1] to do this, in the meantime we can submit a double patch on top of the latest tagged commit:

1. Patch that uses the setup.cfg from the tarball (with tabs) - DROP-IN-RPM
2. Patch that uses the setup.cfg from git (with spaces and comments)

After this, all git patches that modify setup.cfg should apply and the RPM package should build normally.

[0] https://tarballs.openstack.org/neutron/
[1] https://github.com/openstack-packages/rdopkg/issues/112

Comment 2 Eran Kuris 2017-05-03 08:50:17 UTC
verified : 
rpm -qa |grep openstack-neutron-9
openstack-neutron-9.2.0-11.el7ost.noarch

Comment 5 errata-xmlrpc 2017-06-28 15:31:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1594


Note You need to log in before you can comment on or make changes to this bug.