diff --git a/rust-siphasher.spec b/rust-siphasher.spec index a0e06bc..f9ff5db 100644 --- a/rust-siphasher.spec +++ b/rust-siphasher.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate siphasher Name: rust-%{crate} Version: 0.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SipHash functions from rust-core < 1.13 # Upstream license specification: MIT/Apache-2.0 @@ -15,11 +15,14 @@ URL: https://crates.io/crates/siphasher Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -SipHash functions from rust-core < 1.13. +%global _description %{expand: +SipHash functions from rust-core < 1.13.} %description %{_description} @@ -53,6 +56,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 @@ -65,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 10:27:33 CEST 2019 Igor Gnatenko - 0.3.0-2 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.3.0-1 - Update to 0.3.0