|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.4.6
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Date and time library for Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -23,17 +23,6 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
BuildRequires: (crate(num-integer) >= 0.1.36 with crate(num-integer) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(num-traits) >= 0.2.0 with crate(num-traits) < 0.3.0)
|
|
|
|
|
BuildRequires: (crate(time/default) >= 0.1.39 with crate(time/default) < 0.2.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(bincode/default) >= 0.8.0 with crate(bincode/default) < 0.9.0)
|
|
|
|
|
BuildRequires: (crate(num-iter) >= 0.1.35 with crate(num-iter) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Date and time library for Rust.}
|
|
|
|
@ -118,6 +107,9 @@ which use "time" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -130,6 +122,9 @@ which use "time" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 21 20:15:18 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.6-7
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Tue Jun 11 22:50:13 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.6-6
|
|
|
|
|
- Rebuild with tests
|
|
|
|
|
|
|
|
|
|