diff --git a/rust-time.spec b/rust-time.spec index 2fc6bf8..eca05e6 100644 --- a/rust-time.spec +++ b/rust-time.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate time Name: rust-%{crate} Version: 0.1.42 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Utilities for working with time-related functions in Rust # Upstream license specification: MIT/Apache-2.0 @@ -19,15 +19,20 @@ Source: %{crates_source} Patch0: time-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(libc/default) >= 0.2.1 with crate(libc/default) < 0.3.0) %if %{with check} BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) %endif +%endif -%global _description \ -Utilities for working with time-related functions in Rust. +%global _description %{expand: +Utilities for working with time-related functions in Rust.} %description %{_description} @@ -85,6 +90,9 @@ which use "rustc-serialize" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 21:44:41 CEST 2019 Igor Gnatenko - 0.1.42-5 +- Regenerate + * Sun Mar 10 2019 Igor Gnatenko - 0.1.42-4 - Do not pull optional dependencies