On Wed, 2020-12-02 at 15:26 -0500, Matthew Miller wrote:
On Wed, Dec 02, 2020 at 02:11:50PM -0500, Neal Gompa wrote:
> Each subpackage can have virtual Provides+Conflicts to indicate one
> *must* be installed:
>
> Provides: cracklib-dictionaries
> Conflicts: cracklib-dictionaries
>
> Then cracklib itself can do the following:
>
> Requires: cracklib-dictionaries
> Suggests: cracklib-dicts-10k-worst
>
> And cracklib-dicts-full (replacing old cracklib-dicts) would do the
> following:
>
> Obsoletes: cracklib-dicts < %{version}-%{release}
> Provides: cracklib-dictionaries
> Conflicts: cracklib-dictionaries
Is there a way for subpackages to actually contain different files
with the
same path/name?
My initial reaction is I'd be inclined to use 'alternatives'[1] to
achieve this....
Pat
[1]
https://github.com/fedora-sysv/chkconfig