From 40ddabf5ab20976a1c2f9addcba5e193d15bf83d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 16:51:55 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-sha1.spec | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/rust-sha1.spec b/rust-sha1.spec index 9822f11..ca5530e 100644 --- a/rust-sha1.spec +++ b/rust-sha1.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 sha1 Name: rust-%{crate} Version: 0.6.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Minimal implementation of SHA1 for Rust # Upstream license specification: BSD-3-Clause @@ -18,16 +17,14 @@ Source: %{crates_source} Patch0001: 0001-guard-hexdigest-doctest-by-cfg-feature-std.patch ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%if %{with check} -BuildRequires: (crate(openssl/default) >= 0.10.0 with crate(openssl/default) < 0.11.0) -BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0) -BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) -%endif -%global _description \ -Minimal implementation of SHA1 for Rust. +%global _description %{expand: +Minimal implementation of SHA1 for Rust.} %description %{_description} @@ -86,6 +83,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 @@ -98,6 +98,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 16:51:29 CEST 2019 Igor Gnatenko - 0.6.0-7 +- Regenerate + * Sun Mar 10 2019 Igor Gnatenko - 0.6.0-6 - Do not pull optional dependencies