Description of problem:
When trying to uninstall whole python27 collection, there seem to be leftovers.
Caught by /CoreOS/scl-utils/Sanity/general-ownership test
Related to new pytho27-python-pip package. But reproduced only on RHEL-7!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. try to remove whole collection
:: [ FAIL ] :: No files left after the yum remove
:: [ 00:49:53 ] :: /opt/rh/python27/root/usr/share/licenses
No files present.
Directory /opt/rh/python27/root/usr/share/licenses is not removed. Content of directory:
# ll /opt/rh/python27/root/usr/share/licenses
drwxr-xr-x. 2 root root 4096 May 6 08:52 python27-python-pip-7.1.0
Full test log can be found here:
The issue here (and the similar one that was opened for rh-python35-python-pymongo) is that rpm-4.11.3 introduced the %license tag for RHEL 7, however scl-utils-build package was not modified in regards to the addition of %license and %_licensedir macros.
As a result the macros are being expanded but the directories are not owned by the collection. This should be fixed in scl-utils-build but for the moment the workaround for that would be to use the %doc tag for the license files.
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.