From ec1c347f5942db5ad0ba13dac84cd59b7e2d0cb6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 9 Jun 2019 15:05:06 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-rand_chacha.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/rust-rand_chacha.spec b/rust-rand_chacha.spec index 2a1aa2f..b69b5a3 100644 --- a/rust-rand_chacha.spec +++ b/rust-rand_chacha.spec @@ -1,28 +1,32 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate rand_chacha Name: rust-%{crate} Version: 0.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: ChaCha random number generator # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/rand_chacha -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(autocfg/default) >= 0.1.0 with crate(autocfg/default) < 0.2.0) BuildRequires: (crate(rand_core) >= 0.2.0 with crate(rand_core) < 0.4.0) +%endif -%global _description \ -ChaCha random number generator. +%global _description %{expand: +ChaCha random number generator.} %description %{_description} @@ -53,7 +57,7 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -68,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 15:04:36 CEST 2019 Igor Gnatenko - 0.1.1-3 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild