Bug 1225445 - /opt/rh/rh-perl520/root/usr/share/man/man{1,3,7} not owned by a package on RHEL7
Summary: /opt/rh/rh-perl520/root/usr/share/man/man{1,3,7} not owned by a package on RHEL7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: rh-perl524
Version: rh-perl524
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 2.3
Assignee: perl-maint-list
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-27 11:54 UTC by Martin Kyral
Modified: 2016-11-15 10:05 UTC (History)
4 users (show)

Fixed In Version: rh-perl524-2.3-2.el6 rh-perl524-2.3-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-15 10:05:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Use "-f filelist" in files section (920 bytes, patch)
2015-05-27 12:46 UTC, Jitka Plesnikova
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1079938 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHEA-2016:2729 0 normal SHIPPED_LIVE new packages: rh-perl524 2016-11-15 14:38:28 UTC

Internal Links: 1079938

Description Martin Kyral 2015-05-27 11:54:48 UTC
Description of problem:
In the RHEL7 rh-perl520 collection, there are man directories which are outside content owned by the packages. Thus, they are left behind when uninstalling the bits.

[0 root@qeos-22 test]# rpm -qf /opt/rh/rh-perl520/root/usr/share/man/man{1,3,7}
file /opt/rh/rh-perl520/root/usr/share/man/man1 is not owned by any package
file /opt/rh/rh-perl520/root/usr/share/man/man3 is not owned by any package
file /opt/rh/rh-perl520/root/usr/share/man/man7 is not owned by any package
[0 root@qeos-22 test]#

On RHEL6, the ownership is correct:

[0 root@qeos-46 test]# rpm -qf /opt/rh/rh-perl520/root/usr/share/man/man{1,3,7}
rh-perl520-runtime-2.0-7.el6.x86_64
rh-perl520-runtime-2.0-7.el6.x86_64
rh-perl520-runtime-2.0-7.el6.x86_64
[0 root@qeos-46 test]#



Version-Release number of selected component (if applicable):
rh-perl520-runtime-2.0-7.el7

Comment 2 Petr Pisar 2015-05-27 12:22:53 UTC
This looks like a bug in scl-utils:

rh-perl520.spec for both RHELs contains:

%files runtime
%doc README LICENSE
%scl_files
%{_mandir}/man7/%{scl_name}.*

The ownership of directories in question is defined by the %scl_files macro delivered by scl-utils-build.

Comment 3 Jitka Plesnikova 2015-05-27 12:27:39 UTC
The definition of files should be on RHEL 7 

%files runtime -f filelist
%doc README LICENSE
%scl_files
%{_mandir}/man7/%{scl_name}.*

Comment 4 Jitka Plesnikova 2015-05-27 12:46:27 UTC
Created attachment 1030540 [details]
Use "-f filelist" in files section

It is required only for RHEL 7

Comment 9 errata-xmlrpc 2016-11-15 10:05:13 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://rhn.redhat.com/errata/RHEA-2016-2729.html


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