|
|
@ -1,5 +1,6 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
%bcond_without check
|
|
|
|
# * outdated dev-dependencies: rand ^0.6, time ^0.1
|
|
|
|
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate humantime
|
|
|
|
%global crate humantime
|
|
|
@ -14,7 +15,7 @@ License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/humantime
|
|
|
|
URL: https://crates.io/crates/humantime
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A parser and formatter for std::time::{Duration, SystemTime}.}
|
|
|
|
A parser and formatter for std::time::{Duration, SystemTime}.}
|
|
|
@ -49,7 +50,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|