Description of problem: + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo build -j2 -Z avoid-dev-deps --release error: no matching package named `time` found location searched: registry `https://github.com/rust-lang/crates.io-index` perhaps you meant: toml, libc or nix required by package `chrono v0.4.7` ... which is depended on by `peripetyd v0.1.0 (/root/rpmbuild/BUILD/peripety-0.1.2/src/peripetyd)` error: Bad exit status from /var/tmp/rpm-tmp.cbaJZ1 (%build) Version-Release number of selected component (if applicable): rust-chrono-devel-0.4.7-1.fc31.noarch How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
You need to depend on crate(chrono/default) in your spec file since your package uses default features.