Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If y
Jason R. Coombs added the comment:
I decided to test my proposition. It seems that simply specifying / for %files
leads to the RPM including parent directories. Here's the output I get when
running my test with the sed workaround:
$ rpm -q -filesbypkg -p dist/issue21153-package-0.0.0-1.noarch.
Jason R. Coombs added the comment:
In issue21153, I explored this problem as well, before being aware of this
issue. I had searched for bdist_rpm.
I've since confirmed that the sed approach is viable. For example, the
following works around the issue by overriding the install_script with the s