[Rpm-ecosystem] Boolean dependencies vs self-provides (for rust "features" support)
Michael Schroeder
mls at suse.de
Mon Jan 30 09:46:04 UTC 2017
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 at suse.de
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
More information about the Rpm-ecosystem
mailing list