creating RPMs from CRAN tarballs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



This is not specifically a CentOS question, but I  am creating RPMS for
CentOS 6 from some CRAN tarballs.

I run R2spec -s tarball  to create a spec file, and most of the time it
works ok, but sometimes (RPostgresSQL, Rcpp for example) the package has
test or example programs that  start with

#!/usr/bin/r

with lower case r, and the resulting package then winds up with a
dependency on /usr/bin/r, which can't be resolved.

So far I have solved it by editing all the files and replacing with
/usr/bin/R, recreating the tarball and going through the process again, but
I have to believe there is an easier way.

Is there a option to not create the dependency?

Thanks
Tony Schreiner
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux