diff --git a/rust-digest.spec b/rust-digest.spec index c2e9d09..1876c90 100644 --- a/rust-digest.spec +++ b/rust-digest.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate digest Name: rust-%{crate} Version: 0.8.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Traits for cryptographic hash functions # Upstream license specification: MIT OR Apache-2.0 @@ -16,12 +15,14 @@ URL: https://crates.io/crates/digest Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(generic-array/default) >= 0.12.0 with crate(generic-array/default) < 0.13.0) -%global _description \ -Traits for cryptographic hash functions. +%global _description %{expand: +Traits for cryptographic hash functions.} %description %{_description} @@ -90,6 +91,9 @@ which use "std" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -102,6 +106,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 21:29:51 CEST 2019 Igor Gnatenko - 0.8.0-4 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.8.0-3 - Do not pull optional dependencies