
Dominique Leuenberger / DimStar wrote:
On Wed, 2021-02-24 at 11:07 +0100, Thorsten Kukuk wrote:
On Wed, Feb 24, Ludwig Nussel wrote:
An open question is file provides. Atm I'm using a provides generator that automatically adds the legacy /bin provides to well known packages. Do we want to do it that way or manually add file provides to packages?
I think for the majority of file requires, the /usr/ location should be used. So adjust our RPMs requiring something in /bin. I see only problems with third party RPMs, and here the big question is, is there really anything required beside the coreutils utilities, /bin/sh and /bin/bash? I haven't seen anything else in the last time
A very common requires(post) on a lot of packages is /sbin/ldconfig, coming from
%post -p /sbin/ldconfig
So at least that one must be provided (by glibc)
For a few core packages I've manually added the provides already. I'd consider /bin/sh as ABI for example, so requiring that must work always no matter what IMO. The provides generator is on top for the rest. So if there's nobody advocating for manually adding more /bin provides, the generator is cheap to have just in case. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer HRB 36809 (AG Nürnberg)