#71 Python template: Fix PyPI name declaration
Merged by ngompa. Opened by salimma.
salimma/rpmdevtools fix-python-name-declaration  into  master

Download 71.patch

%global %pypi_name would not expand correctly because of the extra %.

Remove it, and switch to using srcname which is preferred now per

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...

rebased onto b825b9900047c082a1a563944150165414f47dbe

rebased onto 0b23bd41ab0331b8e9799867ce71fed237a64904

Pull-Request has been merged by ngompa

Merged, thanks for the patch!

Metadata