https://bugzilla.redhat.com/show_bug.cgi?id=1307271
--- Comment #5 from Giovanni dacav@openmailbox.org --- Hello Diogo
I've been looking at your spec file, and here I've got a couple of comments to add up.
1) The name of the downloaded tarball (or zip) from github can be specified by using this nice trick:
Your URL is: https://github.com/dmelo/vswm/archive/%%7Bversion%7D.zip You can specify: https://github.com/dmelo/vswm/archive/%%7Bversion%7D.zip#/%%7Bmodule%7D-%%7B...
2) Hard wired filesystem locations should be avoided as suggested by Raphael. I've found this set of macros which you might find useful:
https://fedoraproject.org/wiki/Packaging:RPMMacros
3) The "install" command is suggested for the creation of directories (`install -d`) and for the insertion of files (`install vswm $RPM_BUILD_ROOT%{_bindir}`)
Cheers :)