Description of problem: As part of errata workflow, we have to check license file. I'm not able to find any for python27-python-coverage package. Version-Release number of selected component (if applicable): python27-python-coverage-3.6-1.el{6,7} How reproducible: License file should be present in /opt/rh/python27/root/usr/share/doc/python27-python-coverage-3.6
Seems the sources didn't include a license file for the packaged upstream version (3.6). Later versions include a license file and since this is for software collections I believe a rebase to a newest version for the next release would be the ideal solution.
The upstream version that introduces the standalone license file also introduces bundling of jquery libraries, which I don't think is desirable. However, the current rhscl version does contain the license and copyright inside the `coverage/__init__.py` file.
Fixed. The license was put inside %docs in both RHEL versions as the %license macro in RHEL7 does not yet work properly in RHSCLs with respect to uninstallation (rhbz#1334670).
Just a small enhancement, please remove "#" at the beginning of each line in newly created license file. Thanks
Done!
License file is present in python27-python-coverage-3.6-4.el6.x86_64 and python27-python-coverage-3.6-4.el7.x86_64 packages. # pwd /opt/rh/python27/root/usr/share/doc/python27-python-coverage-3.6 [root@qeos-50 python27-python-coverage-3.6]# cat license COPYRIGHT AND LICENSE Copyright 2001 Gareth Rees. All rights reserved. Copyright 2004-2012 Ned Batchelder. All rights reserved. Redistribution and use in source and binary forms, with or without <snip>
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://access.redhat.com/errata/RHSA-2017:1162