sh-5.1# su - mockbuild [mockbuild@mock ~]$ tospec [mockbuild@mock SPECS]$ ls rustup.spec [mockbuild@mock rustup-1.26.0]$ rpm -q cargo2rpm cargo2rpm-0.1.9-4.el9.noarch [mockbuild@mock rustup-1.26.0]$ rpm -qi --requires cargo2rpm | grep abi python(abi) = 3.9 [mockbuild@mock SPECS]$ cd ../BUILD/rustup-1.26.0/ [mockbuild@mock rustup-1.26.0]$ ls build.rs ci download LICENSE.dependencies _rustup rustup-init.sh tests Cargo.toml CONTRIBUTING.md flake.nix LICENSE-MIT rustup.bash src triagebot.toml CHANGELOG.md doc LICENSE-APACHE README.md rustup.fish target www [mockbuild@mock rustup-1.26.0]$ /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check (crate(anyhow/default) >= 1.0.69 with crate(anyhow/default) < 2.0.0~) (crate(cfg-if/default) >= 1.0.0 with crate(cfg-if/default) < 2.0.0~) (crate(chrono/default) >= 0.4.0 with crate(chrono/default) < 0.5.0~) (crate(clap/default) >= 3.0.0 with crate(clap/default) < 4.0.0~) (crate(clap/wrap_help) >= 3.0.0 with crate(clap/wrap_help) < 4.0.0~) (crate(clap_complete/default) >= 3.0.0 with crate(clap_complete/default) < 4.0.0~) (crate(curl/default) >= 0.4.44 with crate(curl/default) < 0.5.0~) (crate(effective-limits/default) >= 0.5.5 with crate(effective-limits/default) < 0.6.0~) (crate(enum-map/default) >= 2.4.2 with crate(enum-map/default) < 3.0.0~) (crate(env_proxy/default) >= 0.4.1 with crate(env_proxy/default) < 0.5.0~) (crate(flate2/default) >= 1.0.0 with crate(flate2/default) < 2.0.0~) (crate(home/default) >= 0.5.4 with crate(home/default) < 0.6.0~) (crate(hyper) >= 0.14.0 with crate(hyper) < 0.15.0~) (crate(hyper/server) >= 0.14.0 with crate(hyper/server) < 0.15.0~) (crate(hyper/tcp) >= 0.14.0 with crate(hyper/tcp) < 0.15.0~) (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0~) (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) (crate(num_cpus/default) >= 1.15.0 with crate(num_cpus/default) < 2.0.0~) (crate(once_cell/default) >= 1.17.1 with crate(once_cell/default) < 2.0.0~) (crate(opener/default) >= 0.5.2 with crate(opener/default) < 0.6.0~) (crate(pulldown-cmark) >= 0.9.0 with crate(pulldown-cmark) < 0.10.0~) (crate(rand/default) >= 0.8.0 with crate(rand/default) < 0.9.0~) (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0~) (crate(remove_dir_all/default) >= 0.8.1 with crate(remove_dir_all/default) < 0.9.0~) (crate(remove_dir_all/parallel) >= 0.8.1 with crate(remove_dir_all/parallel) < 0.9.0~) (crate(reqwest) >= 0.11.0 with crate(reqwest) < 0.12.0~) (crate(reqwest/blocking) >= 0.11.0 with crate(reqwest/blocking) < 0.12.0~) (crate(reqwest/default-tls) >= 0.11.0 with crate(reqwest/default-tls) < 0.12.0~) (crate(reqwest/gzip) >= 0.11.0 with crate(reqwest/gzip) < 0.12.0~) (crate(reqwest/rustls-tls-native-roots) >= 0.11.0 with crate(reqwest/rustls-tls-native-roots) < 0.12.0~) (crate(reqwest/socks) >= 0.11.0 with crate(reqwest/socks) < 0.12.0~) (crate(retry) >= 1.3.1 with crate(retry) < 2.0.0~) (crate(retry/random) >= 1.3.1 with crate(retry/random) < 2.0.0~) (crate(same-file/default) >= 1.0.0 with crate(same-file/default) < 2.0.0~) (crate(scopeguard/default) >= 1.0.0 with crate(scopeguard/default) < 2.0.0~) (crate(semver/default) >= 1.0.0 with crate(semver/default) < 2.0.0~) (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0~) (crate(serde/derive) >= 1.0.0 with crate(serde/derive) < 2.0.0~) (crate(sha2/default) >= 0.10.0 with crate(sha2/default) < 0.11.0~) (crate(sharded-slab/default) >= 0.1.1 with crate(sharded-slab/default) < 0.2.0~) (crate(strsim/default) >= 0.10.0 with crate(strsim/default) < 0.11.0~) (crate(tar/default) >= 0.4.26 with crate(tar/default) < 0.5.0~) (crate(tempfile/default) >= 3.4.0 with crate(tempfile/default) < 4.0.0~) (crate(term/default) >= 0.7.0 with crate(term/default) < 0.8.0~) (crate(thiserror/default) >= 1.0.0 with crate(thiserror/default) < 2.0.0~) (crate(threadpool/default) >= 1.0.0 with crate(threadpool/default) < 2.0.0~) (crate(tokio) >= 1.0.0 with crate(tokio) < 2.0.0~) (crate(tokio/sync) >= 1.0.0 with crate(tokio/sync) < 2.0.0~) (crate(toml/default) >= 0.5.0 with crate(toml/default) < 0.6.0~) (crate(trycmd/default) >= 0.14.13 with crate(trycmd/default) < 0.15.0~) (crate(url/default) >= 2.3.0 with crate(url/default) < 3.0.0~) (crate(wait-timeout/default) >= 0.2.0 with crate(wait-timeout/default) < 0.3.0~) (crate(walkdir/default) >= 2.0.0 with crate(walkdir/default) < 3.0.0~) (crate(xz2/default) >= 0.1.3 with crate(xz2/default) < 0.2.0~) (crate(zstd/default) >= 0.12.0 with crate(zstd/default) < 0.13.0~)