On Mon, 14 May 2012 16:31:08 +0200
Remi Collet <fed...@famillecollet.com> wrote:

> Le 14/05/2012 16:22, Toshio Kuratomi a écrit :
> 
> >> What do you think?
> >
> > I personally prefer to have the checkout instructions in comments.
> 
> +1
> 
> Except for some very complex scripts for which it make sense to have a 
> shell script.
> 

Discussion with pingou and sochotni on #fedora-java brought us this: What about 
using an RPM macro with this grammar:

        %create_tarball git|svn|cvs URL revision [additional commands]

This covers vast majority of the cases, and by using e. g. git archive, we can 
ensure the timestamps will be the same. In case you need to make some 
non-standard changes, like removing a file, you can still use a stand-alone 
script in SOURCE1.

What do you think about this?

-- 
Tomas Radej <tra...@redhat.com>
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to