Bug 1225445

Summary: /opt/rh/rh-perl520/root/usr/share/man/man{1,3,7} not owned by a package on RHEL7
Product: Red Hat Software Collections Reporter: Martin Kyral <mkyral>
Component: rh-perl524Assignee: perl-maint-list
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-perl524CC: jplesnik, kanderso, ppisar, psabata
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: 2.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rh-perl524-2.3-2.el6 rh-perl524-2.3-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-15 10:05:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Use "-f filelist" in files section none

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