%global %pypi_name would not expand correctly because of the extra %.
%global %pypi_name
Remove it, and switch to using srcname which is preferred now per
srcname
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi
Signed-off-by: Michel Alexandre Salim salimma@fedoraproject.org
If you're going to change to %srcname, then fix all the references to %pypi_name to use it too...
%srcname
%pypi_name
rebased onto b825b9900047c082a1a563944150165414f47dbe
rebased onto 0b23bd41ab0331b8e9799867ce71fed237a64904
Pull-Request has been merged by ngompa
Merged, thanks for the patch!
%global %pypi_namewould not expand correctly because of the extra %.Remove it, and switch to using
srcnamewhich is preferred now perhttps://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi
Signed-off-by: Michel Alexandre Salim salimma@fedoraproject.org