rust2rpm/data/cargo.attr
Igor Gnatenko f487983d6c use rich dependencies to fullfill requirements
Imagine, that:
* A requires 0.6.0 <= X < 0.7.0
* B requires 0.9.0 <= X < 0.10.0
* C requires A and B

If we use Requires + Conflicts, then we just can't build or install
C, because sub-dependencies are conflicting between each other.

Proper syntax is: (X >= 0.6.0 with X < 0.7.0)

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-02-25 10:02:05 +01:00

3 lines
172 B
Text

%__cargo_provides %{_bindir}/cargo-inspector --provides
%__cargo_requires %{_bindir}/cargo-inspector --requires
%__cargo_path ^%{cargo_registry}/[^/]+/Cargo\\.toml$