diff --git a/rust-block-buffer.spec b/rust-block-buffer.spec index 90954bd..ff7c189 100644 --- a/rust-block-buffer.spec +++ b/rust-block-buffer.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 block-buffer Name: rust-%{crate} Version: 0.7.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fixed size buffer for block processing of data # Upstream license specification: MIT OR Apache-2.0 @@ -16,15 +15,14 @@ URL: https://crates.io/crates/block-buffer Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(block-padding/default) >= 0.1.0 with crate(block-padding/default) < 0.2.0) -BuildRequires: (crate(byte-tools/default) >= 0.3.0 with crate(byte-tools/default) < 0.4.0) -BuildRequires: (crate(byteorder) >= 1.1.0 with crate(byteorder) < 2.0.0) -BuildRequires: (crate(generic-array/default) >= 0.12.0 with crate(generic-array/default) < 0.13.0) -%global _description \ -Fixed size buffer for block processing of data. +%global _description %{expand: +Fixed size buffer for block processing of data.} %description %{_description} @@ -57,6 +55,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 @@ -69,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 21:41:33 CEST 2019 Igor Gnatenko - 0.7.3-2 +- Regenerate + * Mon Apr 15 2019 Josh Stone - 0.7.3-1 - Update to 0.7.3