Am Mon, 20 Jun 2016 14:32:29 -0400
schrieb Darin Perusich
On Mon, Jun 20, 2016 at 1:19 PM, Luigi Baldoni
wrote: Darin Perusich-3 wrote
There is only a single path for all R libraries, %{_rlibdir}/R/library
Is that %{_rlibdir} macro defined anywhere outside of spec files?
Not at this time, it's defined as a global in each SPEC. If i were going to change that I'd create an R-rpm-macros package to define those variables. See https://build.opensuse.org/package/show/server:monitoring/nagios-rpm-macros for an example.
Sorry if I insist, but I'm still not sure if meanwhile the installation path macro should be differentiated for noarch and binary packages.
Also I'm not sure how to determine the runtime requirements for each extension: should BuildRequires and Requires coincide? Or does rpm take care of that?
Yes the BuildRequires and Requires need to coincide otherwise the dependencies at build and install will not be met.
Hmmm. Not sure if something changed there. When I submitted latest R-base to Factory I had to clean up the BuildRequires and Requires so that nothing, that was pulled implicitly, was pulled explicitly. I.e: BuildRequires: xz-devel, so Requires: xz was "forbidden". rpm does a lot of that automatically. It´s at least worth a try to comment out such explicit Requires. Detlef
R2spec does an OK job of setting the correct BuildRequires and Requires in the spec, but more often than now it misses some. This is why most of the packages in CRAN-packages are broken or fail to build and the spec's need to be manually updated. A lot of trial and error goes into building the packages successfully the first time, but afterwards it's simple to update them unless something significant changes.
Furthermore, are packages tied to the exact version of each extension they were built with? The only one I've tested seems to have problems of this sort.
I'm not sure what you mean. In OBS if package AAA has a dependency to package BBB, if package BBB is successfully updated then package AAA will be rebuilt once the updated package is published. So if R-base is updated then every package is dependent on it will be rebuilt.
Regards
-- View this message in context: http://opensuse.14.x6.nabble.com/Subj-Packaging-R-extensions-tp5066428p50664... Sent from the opensuse-packaging mailing list archive at Nabble.com. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- Dr. Detlef Steuer Helmut-Schmidt-Universität Fakultät WiSo Holstenhofweg 85 22043 Hamburg Tel: 040/6541-2819 mail: steuer@hsu-hh.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org