On Mon, Jun 20, 2016 at 1:19 PM, Luigi Baldoni
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. 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
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org