On 02. 04. 19 4:39, Orion Poplawski wrote:
In any case - please be careful with changing egg-info format - and do use ....egg-info/ in your specs to ensure that the format is a directory as expected.
And if you have (and want) a file, stick a test into %check:
%check ... test -f %{buildroot}%{python3_sitearch}/rpm-%{version}-py%{python3_version}.egg-info
It might sound tedious but it can save a lot of trouble later.