How can we include Upstream URLs in Fedora Packages?

first PR to dist-git - am i doing this correctly?

Question: You added the field to be

VCS:            git+https://github.com/Kitware/CMake

but shouldn’t it have the .git suffix like this?

VCS:            git+https://github.com/Kitware/CMake.git

Basically, the first URL points to the human-readable web interface that shows the git repository’s content. The second URL points to the actual git repository.

ah yep, thanks for catching that! updated the PR

According to https://rpm.org/docs/6.1.x/manual/tags.html:

(Public) upstream source code VCS location. Format <vcs>:<address> with <vcs> being the VCS command used (e.g. git, svn, hg, …) and <address> being the location of the repository as used by the VCS tool to clone/checkout the repository (e.g. https://github.com/rpm-software-management/rpm.git).

So it should be VCS: git:git+https://github.com/Kitware/CMake.git or VCS: git:https://github.com/Kitware/CMake.git.