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

Pierre-Yves Chibon pingou at pingoured.fr
Tue Apr 12 21:14:55 UTC 2011


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 the error message in the console rather than in the build
file ? Or do you have something else in mind ?

> I also think that there are other sources of packages than the various
> repos.  It seems incorrect to me to insist that we name one.

For this I had few ideas but I do not know how far I went with them:
- One idea was to be able to add repositories on the ~/.R2spec.
Now that I am thinking about it, I guess something like:
[repository]
bioc = http://bioconductor.org
cran = http://cran.r-project.org
mine = http://pingoured.fr
where one could then call R2spec/R2rpm with --repo=mine or --repo=bioc
or something like this.

- Another idea might be to just specify the repository via an argument
--URL="http://pingoured.fr"

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 ;-)

Best regards,
Pierre


More information about the r-devel mailing list