Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 2148ca6d51
commit 3ff6ae3858
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,5 +1,5 @@
--- datetime-0.4.7/Cargo.toml 1970-01-01T01:00:00+01:00 --- datetime-0.4.7/Cargo.toml 1970-01-01T00:00:00+00:00
+++ datetime-0.4.7/Cargo.toml 2019-02-10T16:09:46.968639+01:00 +++ datetime-0.4.7/Cargo.toml 2019-07-14T17:18:07.401572+00:00
@@ -29,22 +29,12 @@ @@ -29,22 +29,12 @@
version = "0.2" version = "0.2"

@ -1,15 +1,15 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate datetime %global crate datetime
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.4.7 Version: 0.4.7
Release: 6%{?dist} Release: 7%{?dist}
Summary: Library for date and time formatting and arithmetic Summary: Library for date and time formatting and arithmetic
# Upstream license specification: MIT
# https://github.com/rust-datetime/datetime/issues/20 # https://github.com/rust-datetime/datetime/issues/20
License: MIT License: MIT
URL: https://crates.io/crates/datetime URL: https://crates.io/crates/datetime
@ -24,19 +24,14 @@ Patch0: datetime-fix-metadata.diff
Patch1: 0001-drop-regex-from-dependency-set.patch Patch1: 0001-drop-regex-from-dependency-set.patch
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(iso8601/default) >= 0.3.0 with crate(iso8601/default) < 0.4.0)
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
BuildRequires: (crate(locale/default) >= 0.2.0 with crate(locale/default) < 0.3.0)
BuildRequires: (crate(num-traits/default) >= 0.1.35 with crate(num-traits/default) < 0.2.0)
BuildRequires: (crate(pad/default) >= 0.1.0 with crate(pad/default) < 0.2.0)
%if %{with check}
BuildRequires: (crate(rustc-serialize/default) >= 0.3.0 with crate(rustc-serialize/default) < 0.4.0)
%endif
%global _description \ %global _description %{expand:
Library for date and time formatting and arithmetic. Library for date and time formatting and arithmetic.}
%description %{_description} %description %{_description}
@ -70,6 +65,9 @@ which use "default" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -82,6 +80,9 @@ which use "default" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Jul 14 19:18:07 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.7-7
- Regenerate
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.7-6 * Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.7-6
- Update iso8601 to 0.3 - Update iso8601 to 0.3

Loading…
Cancel
Save