https://bugzilla.redhat.com/show_bug.cgi?id=974714
--- Comment #30 from Eric Griffith EGriffith92@gmail.com --- Question for anyone keeping an eye on this. Srinivas I've got your spec file on hand as a reference but I've got a bit of a general question that I'd love to have answered beyond just this one .spec file.
Currently it says:
Source0: https://github.com/01org/thermal_daemon/archive/v%%7Bversion%7D.tar.gz
But when I do "rpmbuild -ba thermal_daemon.spec" (following Fedora Documentation http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_... ) then rpmbuild complains about:
error: File /home/egriffith/rpmbuild/SOURCES/v1.30.tar.gz: No such file or directory
presumably because its just looking at "v%{version}.tar.gz". What is the appropriate fix here? The upstream source is in fact:
https://github.com/01org/thermal_daemon/archive/v%%7Bversion%7D.tar.gz (in this case v1.30.tar.gz)
but the download link gives you "thermal_daemon-1.3.tar.gz" which is in my SOURCES directory. So do I rename thermal_daemon-1.3.tar.gz to be "v1.30.tar.gz" or do I modify "Source0" to not be 100% faithful to the actual URL? Or is there an override I can use to specify that the downloaded files have a different name than the upstream source URL?