On Sun, Mar 2, 2014 at 9:04 PM, Dridi Boukelmoune <dridi.boukelmoune@xxxxxxxxx> wrote: > Hi, > > Maybe we should add guidelines for bitbucket. That could be very > similar to github's template: > > === > %global owner $OWNER > %global tag $TAG > %global commit $COMMIT > %global shortcommit %(c=%{commit}; echo ${c:0:12}) > > ... > > Source0: https://bitbucket.org/%{owner}/%{name}/get/%{tag}.tar.gz > > ... > > %prep > %setup -qn %{owner}-%{name}-%{shortcommit} > === > > I have tested this sucessfully with one (mercurial) package where $TAG > is %{version}. > > What do you think ? It's acceptable, only. We should teach SCM to work with VCS instead of writing lines of things which need to be updated everytime. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct