Bug 1729628

Summary: rust-chrono-devel should depend on rust-time-devel
Product: [Fedora] Fedora Reporter: Gris Ge <fge>
Component: rust-chronoAssignee: Igor Raits <igor.raits>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: igor.raits, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-13 06:37:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1675615    

Description Gris Ge 2019-07-13 00:21:25 UTC
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:

Comment 1 Igor Raits 2019-07-13 06:37:22 UTC
You need to depend on crate(chrono/default) in your spec file since your package uses default features.