Bug 1358776 - rpm: subpackages with different file contents under the same path
Summary: rpm: subpackages with different file contents under the same path
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-21 12:48 UTC by Florian Weimer
Modified: 2016-08-19 06:13 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-19 06:13:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2016-07-21 12:48:20 UTC
Currently, it is not possible to create subpackages which install files with different contents under the same path.

A potential fix could provide an ability to set the build root on a per-subpackage basis, as suggested in this upstream ticket:

  http://rpm.org/ticket/874

Comment 1 Mark Wielaard 2016-07-21 15:16:49 UTC
Note that this would conflict with the current one debuginfo package approach. The .debug files would clash. So to support this we would also need to support splitting the debuginfo into subpackage debuginfo packages.

Comment 2 Florian Weimer 2016-08-19 06:13:33 UTC
RemovePathPostfixes in rpm 4.13.0 appears to support this:

  http://www.rpm.org/wiki/Releases/4.13.0

The curl package uses it, so it's support at least on the core Fedora build infrastructure.  See bug 1324623 comment 18.


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