DevHeads.net

Postings by =?UTF-8?Q?I=C3=B1aki_Ucar?=

R-core does not provide librt anymore in rawhide

Hi,

I noticed this. For the same R version, fc31 and fc32 R-core packages
do not provide librt.so anymore. As a consequence, R packages using
real time extensions (notably, those using shared memory) cannot be
loaded due to missing symbols (because they don't have an explicit
-lrt). Is there a good reason for this?

Regards,

Dropping -devel subpackage

Hi,

Quick question not found in the docs. There's a package with a -devel
subpackage. No package depends on this -devel and upstream removes the
development files in the new release, so I just dropped the -devel
subpackage.

Now, it's improbable, but if the old -devel subpackage was installed,
then "dnf upgrade" complains, obviously:
<a href="https://bodhi.fedoraproject.org/updates/FEDORA-2019-f8c8592ad6" title="https://bodhi.fedoraproject.org/updates/FEDORA-2019-f8c8592ad6">https://bodhi.fedoraproject.org/updates/FEDORA-2019-f8c8592ad6</a>

So the question is: should I add "Obsoletes: pkg-devel < $new_version"
to pkg's SPEC? Is this a proper use of "Obsoletes"?

Regards,

Use immutable CRAN URLs

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.