On Mon, 2017-01-30 at 10:46 +0100, Michael Schroeder wrote:
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:
That would mean that if
upstream removes one of features we can't
update it in stable release without proper obsoletes. But since I want
to generate all this stuff automatically it's not possible...
crate-clap-color-devel:
Provides: crate(clap)(color)
Requires: crate(clap) crate(ansi_term) crate(libc)
Cheers,
Michael.
--
-Igor Gnatenko