Re: [Fedora-r-devel-list] R2rpm...

2011-04-12 Thread Pierre-Yves Chibon
On Tue, 2011-04-12 at 15:27 -0400, Allen S. Rout wrote: > The dependency resolution in R2spec introduces loops. > > Try to build foreach or iterators. In R2spec's calculation of deps, > they depend on each other. This appears to be because R2spec promotes > a 'suggests' to a 'depends'. > > This

[Fedora-r-devel-list] Errors in constructing SPEC from local source.

2011-04-12 Thread Allen S. Rout
In R2spec-3.0.3-1, if you set a local source (-s ) then the URL and source0 fields in the spec will remain empty. Such specs fail to build. There are a variety of ways to address this, I'm not sure that what I've done is really a superior solution. in RPackage.py, down the branch of "I've o

Re: [Fedora-r-devel-list] Errors in constructing SPEC from local source.

2011-04-12 Thread Allen S. Rout
asr-hnhdhkbx...@public.gmane.org (Allen S. Rout) writes: > In R2spec-3.0.3-1, if you set a local source (-s ) then the URL > and source0 fields in the spec will remain empty. Such specs fail to > build. > > There are a variety of ways to address this, I'm not sure that what I've > done is reall

Re: [Fedora-r-devel-list] R2rpm...

2011-04-12 Thread Allen S. Rout
Pierre-Yves Chibon writes: > On Tue, 2011-04-12 at 15:27 -0400, Allen S. Rout wrote: >> The dependency resolution in R2spec introduces loops. >> >> Try to build foreach or iterators. In R2spec's calculation of deps, >> they depend on each other. This appears to be because R2spec promotes >>

Re: [Fedora-r-devel-list] Errors in constructing SPEC from local source.

2011-04-12 Thread Pierre-Yves Chibon
On Tue, 2011-04-12 at 16:57 -0400, Allen S. Rout wrote: > > I have the opinion that the current manner of failing doesn't > communicate what's going on very well. Would you consider documenting > this requirement in the usage message, or even failing with an > informative message? As in print th

Re: [Fedora-r-devel-list] Errors in constructing SPEC from local source.

2011-04-12 Thread Allen S. Rout
Pierre-Yves Chibon writes: > On Tue, 2011-04-12 at 16:57 -0400, Allen S. Rout wrote: >> >> I have the opinion that the current manner of failing doesn't >> communicate what's going on very well. Would you consider documenting >> this requirement in the usage message, or even failing with an >>

Re: [Fedora-r-devel-list] Errors in constructing SPEC from local source.

2011-04-12 Thread Pierre-Yves Chibon
On Tue, 2011-04-12 at 17:34 -0400, Allen S. Rout wrote: > > > > R2spec was designed to easily create spec file which would then be > > reviewed and corrected by human. It has evolved to include rpm > building > > but I have the feeling that it might need a good redesign, maybe a > > version 3.0.0