https://bugzilla.redhat.com/show_bug.cgi?id=1109884
--- Comment #2 from gil cattaneo puntogil@libero.it --- please, consider also http://fedoraproject.org/wiki/Packaging:SourceURL#Github
https://github.com/datanucleus/datanucleus-maven-parent/archive/8e55762cef51...
%global commit 62cef51784b0308ed4cdcfeceaadb03e1d6 %global shortcommit %(c=%{commit}; echo ${c:0:7})
... URL: https://github.com/datanucleus/datanucleus-maven-paren Source: https://github.com/datanucleus/%%7Bname%7D/archive/%%7Bname%7D-%%7Bcommit%7D... ... %prep %setup -qn %{name}-%{commit} ...