I want to build a rpm of my project automated. So when I push a new tag to my git repo, it should build a rpm from this tag revision. My problem is, how can I prep the sources and specify it in the RPM Spec file?
Is it possible to specify the git repo directly? Like: Source0: git://myserver/mygit.git
But what when I want to have the git repo available via https?
Any hints are appreciated! :)
Cheers, Thilo