Hi,
Currently, most of the R packages included in Fedora use the following
lines in the SPEC:
URL:
https://cran.r-project.org/web/packages/%{packname}/
Source0:
https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
This URL format is not recommended by CRAN, but more importantly, the
Source0 format does not work anymore, as [1] noted, when a new version
is released. However, there is an immutable format available, as [2]
pointed out. So my proposal is to use always the following lines
instead:
URL:
https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{version}
which are both shorter and immutable, and I propose to add this to the
R packaging guidelines too.
If we agree on this, is there any easy way to request a system-wide
change like that to all existing packages?
Regards,
--
Iñaki Ucar
[1]
https://stat.ethz.ch/pipermail/r-devel/2018-October/076988.html
[2]
https://stat.ethz.ch/pipermail/r-devel/2018-October/076989.html