Pulp spec file does not contain a proper Source0
As it stands Pulp and Pulp plugins spec files do not contain correct Source0 URLs. This is in part because the releases have their git tag in the tarfile name hosted on github. I am proposing changing this so that the Source0 leads to the source and renames it to the expected name.
Currently Pulp-2.12.2 Source0 leads to:
The change will have it go to:
which will download the file and rename it to: pulp-2.12.2.tar.gz
Updated by bmbouter over 6 years ago
I'm not familiar with codeload.github.com. Indeed the url you show
https://github.com/pulp/pulp/archive/pulp-2.12.2.tar.gz does 404. For that same example I thought it would be this URL:
Also the spec file forms the URL from variables. So I think just having a release version variable is all we need to do.
At the same time upstream releases don't really have a release field so maybe the tags in github just have the wrong names.