RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1049815 - scl_files macro does not contain .../usr/share/man/* directories
Summary: scl_files macro does not contain .../usr/share/man/* directories
Keywords:
Status: CLOSED DUPLICATE of bug 1072319
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: scl-utils
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Zeleny
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 1040470 1073458
TreeView+ depends on / blocked
 
Reported: 2014-01-08 09:44 UTC by Jan Kaluža
Modified: 2014-03-24 09:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-24 09:52:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Minimal reproducer SRPM illustrating this issue. (2.45 KB, application/x-rpm)
2014-03-04 11:56 UTC, Severin Gehwolf
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1057169 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1057169

Description Jan Kaluža 2014-01-08 09:44:07 UTC
This is follow up of Bug 1040470.

"../usr/share/man/man8" (and other directories in "man" directory) is not owned by -runtime subpackage in RHEL7, but it is in RHEL6. Directories created and owned by this package are defined using %scl_files which comes from scl-utils-build.

I'm able to reproduce this problem with more collections in RHEL7 (at least httpd24 and ruby193).

This leads to problem when man directories are not removed when collection is uninstalled.

Comment 2 Severin Gehwolf 2014-03-04 11:48:33 UTC
The same applies for java directories in an scl.

Comment 3 Severin Gehwolf 2014-03-04 11:56:28 UTC
Created attachment 870371 [details]
Minimal reproducer SRPM illustrating this issue.

Comment 4 Severin Gehwolf 2014-03-04 12:03:06 UTC
Steps to reproduce:

1. Take SRPM from comment 3
2. $ rpm -i foo-collection1-1.1-1.el7.src.rpm
3. $ cd ~/rpmbuild/SPECS
4. $ rpmbuild -bb foo-collection-metapackage.spec

Step 4 on RHEL-6 produces an RPM with proper directory ownership (expected results):
$ rpm -q scl-utils
scl-utils-20120927-8.el6_5.x86_64
$ rpm -ql -p ~/rpmbuild/RPMS/x86_64/foo-collection1-runtime-1.1-1.el6.x86_64.rpm | egrep '/usr/share/man/man7$|java'
/opt/rh/foo-collection1/root/usr/lib/java
/opt/rh/foo-collection1/root/usr/share/java
/opt/rh/foo-collection1/root/usr/share/javadoc
/opt/rh/foo-collection1/root/usr/share/man/man7

Step 4 on a RHEL-7 box produces (actual results):
$ rpm -q scl-utils
scl-utils-20130529-5.el7.x86_64
$ rpm -ql -p ~/rpmbuild/RPMS/x86_64/foo-collection1-runtime-1.1-1.el7.x86_64.rpm | egrep '/usr/share/man/man7$|java'
/opt/rh/foo-collection1/root/usr/lib/java

Comment 7 RHEL Program Management 2014-03-22 06:17:31 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 8 Vít Ondruch 2014-03-24 09:52:15 UTC
The issue is more broader then just manpages. Bug 1072319 describes it better.

*** This bug has been marked as a duplicate of bug 1072319 ***


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