[Fedora-r-devel-list] R2rpm call for tester
Pierre-Yves
pingou at pingoured.fr
Fri Mar 26 21:45:06 UTC 2010
On Fri, 2010-03-26 at 21:12 +0000, José Matos wrote:
> On Friday 26 March 2010 20:02:37 Pierre-Yves wrote:
> > > * in R2spec I have the following snippet:
> > > - self.version = self.file['version']
> > > + self.version = self.file['version'].replace("-",".")
> >
> > This should be fixed already in Description.py
>
> For some reason it did not for me (I suspect that you meant in a later
> revision).
Yes, I know I changed this but I can't remember in which revision it
was.
> FWIW I was calling it like this:
>
> python /path/to/R2rpm --cran -u url_to_package
>
> Calling this with the later version does not work anymore, I get:
>
> $ python ~/fedora/r2spec/devel/R2rpm --cran -u http://cran.r-
> project.org/src/contrib/mAr_1.1-2.tar.gz
> Traceback (most recent call last):
> File "/home/jamatos/fedora/r2spec/devel/R2rpm", line 51, in <module>
> R2rpm().main(source, url, package, bioc, cran, rforge, rproject, copyFile,
> dependencies, name, email, force)
> File "/home/jamatos/fedora/r2spec/devel/r2spec/R2rpm.py", line 65, in main
> r.getRpmMacroDirectory()
> AttributeError: RPackage instance has no attribute 'getRpmMacroDirectory'
I just fixed it on the git, I'll upload in a few minutes a revision 0.6.
Thanks,
Pierre
More information about the r-devel
mailing list