Am Dienstag, 2. April 2024, 19:42:17 CEST schrieb Ben Greiner:
Am 02.04.24 um 07:55 schrieb daniel.garcia@suse.com:
rpmlint is checking for files in the path "/usr/lib/pythonXXX/site- packages" and indeed, I can see that these packages has the usual python module metadata installed there. If this package just provides the binary, maybe this metadata folder can be removed from the package.
Please don't remove the metadata. There might be consuming code now or in any other upstream package to check for it through importlib or even a simple `pip list`.
Thanks for the suggestions, everyone. I have now gone with Ben's suggestion of explicitly adding in the dependency. I fear removing the metadata will cause issues in the %pyproject_install of depending packages. Explicitly adding the dependency is what I had tried initially but failed because I didn't apply the escaping trick. It is a much nicer solution than just silencing the rpmlint, although the dependency would have been pulled in indirectly anyhow. Kind Regards, Matthias -- Dr. Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke