diff --git a/rust2rpm/tests/samples/tokio-1.19.2.plain.spec b/rust2rpm/tests/samples/tokio-1.19.2.plain.spec index a87ed4c..46e1789 100644 --- a/rust2rpm/tests/samples/tokio-1.19.2.plain.spec +++ b/rust2rpm/tests/samples/tokio-1.19.2.plain.spec @@ -271,6 +271,7 @@ use the "mio" feature of the "%{crate}" crate. Summary: %{summary} BuildArch: noarch Provides: crate(tokio/net) = 1.19.2 +Requires: (crate(mio/default) >= 0.8.1 with crate(mio/default) < 0.9.0~) Requires: (crate(mio/net) >= 0.8.1 with crate(mio/net) < 0.9.0~) Requires: (crate(mio/os-ext) >= 0.8.1 with crate(mio/os-ext) < 0.9.0~) Requires: (crate(mio/os-poll) >= 0.8.1 with crate(mio/os-poll) < 0.9.0~) @@ -340,6 +341,7 @@ use the "parking_lot" feature of the "%{crate}" crate. Summary: %{summary} BuildArch: noarch Provides: crate(tokio/process) = 1.19.2 +Requires: (crate(mio/default) >= 0.8.1 with crate(mio/default) < 0.9.0~) Requires: (crate(mio/net) >= 0.8.1 with crate(mio/net) < 0.9.0~) Requires: (crate(mio/os-ext) >= 0.8.1 with crate(mio/os-ext) < 0.9.0~) Requires: (crate(mio/os-poll) >= 0.8.1 with crate(mio/os-poll) < 0.9.0~) @@ -396,6 +398,7 @@ use the "rt-multi-thread" feature of the "%{crate}" crate. Summary: %{summary} BuildArch: noarch Provides: crate(tokio/signal) = 1.19.2 +Requires: (crate(mio/default) >= 0.8.1 with crate(mio/default) < 0.9.0~) Requires: (crate(mio/net) >= 0.8.1 with crate(mio/net) < 0.9.0~) Requires: (crate(mio/os-ext) >= 0.8.1 with crate(mio/os-ext) < 0.9.0~) Requires: (crate(mio/os-poll) >= 0.8.1 with crate(mio/os-poll) < 0.9.0~) diff --git a/setup.cfg b/setup.cfg index 29977d0..fc6b6bb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,7 +24,7 @@ classifiers = include_package_data = True packages = rust2rpm install_requires = - cargo2rpm>=0.1.12 + cargo2rpm>=0.1.13 jinja2 jsonschema pyparsing