From 3ff6ae385851a529c2146fa952a61ec466281ade Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 14 2019 17:18:46 +0000 Subject: Regenerate Signed-off-by: Igor Gnatenko --- diff --git a/datetime-fix-metadata.diff b/datetime-fix-metadata.diff index f7c54ab..9da8b43 100644 --- a/datetime-fix-metadata.diff +++ b/datetime-fix-metadata.diff @@ -1,5 +1,5 @@ ---- datetime-0.4.7/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ datetime-0.4.7/Cargo.toml 2019-02-10T16:09:46.968639+01:00 +--- datetime-0.4.7/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ datetime-0.4.7/Cargo.toml 2019-07-14T17:18:07.401572+00:00 @@ -29,22 +29,12 @@ version = "0.2" diff --git a/rust-datetime.spec b/rust-datetime.spec index eaceb24..0401ca9 100644 --- a/rust-datetime.spec +++ b/rust-datetime.spec @@ -1,15 +1,15 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate datetime Name: rust-%{crate} Version: 0.4.7 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Library for date and time formatting and arithmetic +# Upstream license specification: MIT # https://github.com/rust-datetime/datetime/issues/20 License: MIT URL: https://crates.io/crates/datetime @@ -24,19 +24,14 @@ Patch0: datetime-fix-metadata.diff Patch1: 0001-drop-regex-from-dependency-set.patch ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif 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 \ -Library for date and time formatting and arithmetic. +%global _description %{expand: +Library for date and time formatting and arithmetic.} %description %{_description} @@ -70,6 +65,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -82,6 +80,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jul 14 19:18:07 CEST 2019 Igor Gnatenko - 0.4.7-7 +- Regenerate + * Sun Feb 10 2019 Igor Gnatenko - 0.4.7-6 - Update iso8601 to 0.3