https://bugzilla.redhat.com/show_bug.cgi?id=1812905
--- Comment #8 from Fabien Boucher <fboucher(a)redhat.com> ---
(In reply to Miro Hrončok from comment #3)
Fixed
> # Remove bundled egg-info in case it exists
> rm -rf re2.egg-info
Is this actually needed nowadays?
Fixed
> %{python3_sitearch}/re2.py
> ...
> %{python3_sitearch}/__pycache__/*
Replace the two lines with one:
%pycached %{python3_sitearch}/re2.py
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
#_byte_compiling
Done
> %{python3_sitearch}/fb_re2-*.egg-info
If this is a directory (like in this case), I suggest ending it in / to make
sure it remains a directory (there are known cases where just by changing
the buildroot content, that "file" can change to be or not be a directory,
RPM is very broken when replacing a directory with a file in an update).
Done
The package uses setuptools at buildtime:
https://github.com/facebook/pyre2/blob/v1.0.7/setup.py#L3
But it does not BR python3-setuptools. That happens to work via a transitive
dependency only (which might in fact be removed in the future).
(See
https://src.fedoraproject.org/rpms/python3/blob/master/f/python3.spec#_438
for details.)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component