0023657
@@ -41,7 +41,7 @@
License: GPLv2+
URL: https://CRAN.R-project.org/package=%{packname}
- Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
+ Source0: %{url}&version=%{version}#/%{packname}_%{version}.tar.gz
BuildRequires: R-devel
BuildRequires: tex(latex)
The old format is only valid for current releases: as soon as a package is archived, the URL changes. This PR replaces it with a format that is guaranteed to work both for current releases as well as archived ones.
Pull-Request has been merged by churchyard
The old format is only valid for current releases: as soon as a package is archived, the URL changes. This PR replaces it with a format that is guaranteed to work both for current releases as well as archived ones.