On Sun, Jan 29, 2017 at 05:33:34PM +0100, Igor Gnatenko wrote:
But it doesn't work since it works the RPM thinks that
crate(clap)(xxx)
is going to be installed (since it's provided by same package) so it
requires other packages to be installed as well which is something not
what we want.
Probably for now sane way would be just require all optional packages
to cover *all* features which package provides, but it means that
builds will be slow because they would need to pull a lot of packages
always.
Seems like you want devel packages for each feature:
crate-clap-color-devel:
Provides: crate(clap)(color)
Requires: crate(clap) crate(ansi_term) crate(libc)
Cheers,
Michael.
--
Michael Schroeder mls(a)suse.de
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}