Re: creating RPMs from CRAN tarballs

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



Am 03.06.2015 um 21:49 schrieb Tony Schreiner <anthony.schreiner@xxxxxx>:
> 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?


can't test it here right now - but try adding
following line at the top of your spec file:

%define __os_install_post %{nil}

--
LF
_______________________________________________
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