I have been trying to create an rpm using a spec file. I want to use github code with that. I am providing Source0: as http://github.com/some_project.tat.gz, but it's downloading that, it's looking for tat.gz in /root/rpmbuild/SOURCES.
I want my spec file to download the source code from git and not get it from SOURCE directory. Any idea how can I do that? Do I need to add some other option to the spec file?
TIA.