Hide Forgot
Created attachment 1150967 [details] The gererated file Description of problem: When using R2spec to build the .spec template then dependency are added. But some R modules now an part of the R core. So the R package must deliver it as meta packages. See https://cran.r-project.org/doc/FAQ/R-FAQ.html for the list of modules. Version-Release number of selected component (if applicable): R-3.2.3-4.el7.x86_64 How reproducible: every time Steps to Reproduce: 1. call R2spec -p zoo (or any other R module) Actual results: The generated spec file will list R packages which are an part of the R core package. So an rpmbuild of the spec file will fail, because of missing modules. Expected results: The the R modules which are now into the R core are represented as meta packages, so that the build will work. Additional info: See the sample generated .spec file.
Not sure why you think this doesn't work now. We use Provides for this in the R-core package (R is a metapackage that Requires: R-core). [spot@localhost ~]$ rpm -q R-core --provides R-KernSmooth = 2.23.15 R-MASS = 7.3.45 R-Matrix = 1.2.4 R-base = 3.2.4 R-boot = 1.3.18 R-class = 7.3.14 R-cluster = 2.0.3 R-codetools = 0.2.14 R-core = 3.2.4-1.fc25 R-core(x86-64) = 3.2.4-1.fc25 R-datasets = 3.2.4 R-foreign = 0.8.66 R-grDevices = 3.2.4 R-graphics = 3.2.4 R-grid = 3.2.4 R-lattice = 0.20.33 R-methods = 3.2.4 R-mgcv = 1.8.12 R-nlme = 3.1.125 R-nnet = 7.3.12 R-parallel = 3.2.4 R-rpart = 4.1.10 R-spatial = 7.3.11 R-splines = 3.2.4 R-stats = 3.2.4 R-stats4 = 3.2.4 R-survival = 2.38.3 R-tcltk = 3.2.4 R-tools = 3.2.4 R-utils = 3.2.4 config(R-core) = 3.2.4-1.fc25 libR.so()(64bit)