On Wed, Dec 2, 2020 at 3:27 PM Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> 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? > Yes. You can declare each (sub)package to do something like so: %package -n cracklib-dicts-full RemovePathPostfixes: .dicts-full ... %install install -pm 0644 sourcefile %{buildroot}/path/to/location/cracklib-dicts.dict.dicts-full ... %files -n cracklib-dicts-full /path/to/location/cracklib-dicts.dict.dicts-full The end result will have cracklib-dicts-full containing /path/to/location/cracklib-dicts.dict -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx