[CentOS] R packaging question

Weiner, Michael

weinerm at ccf.org
Tue Jun 5 13:25:32 UTC 2012


I have been working on packaging (for internal use only) multiple
versions of R (eg 2.14.1, 2.14.2, 2.15.0) such that I can install these
RPMs and provide the different versions of R (especially 2.14.x and
2.15.x) to the biostatisticians that require them. I have been messing
around with the R.spec file but I have been unable to get the package to
provide R in the location I would like:

/usr/lib64/R-2.14.1/
/usr/lib64/R-2.15.0/

Now I know this can be done but I am just having some difficulty in
getting it to work correctly. I have tried multiple variations in the
spec playing with adding -%{version} to the paths within the spec file,
as well as even using -libdir=/usr/lib64/R-%{version} which  works to a
point, but basically provides:

/usr/lib64/R-2.14.1/R/
/usr/lib64/R-2.15.0/R/

I have attached the spec file I have been modifying and would appreciate
any insights into getting this packaging correct.

Thank you in advance for any assistance
Michael Weiner

===================================

 Please consider the environment before printing this e-mail

Cleveland Clinic is ranked one of the top hospitals
in America by U.S.News & World Report (2010).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.




More information about the CentOS mailing list