From 97a945e2613e7680f0626972dae81e63100d9b9b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 09:19:18 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-generic-array.spec | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/rust-generic-array.spec b/rust-generic-array.spec index a8fdf85..87fa78c 100644 --- a/rust-generic-array.spec +++ b/rust-generic-array.spec @@ -1,30 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate generic-array Name: rust-%{crate} Version: 0.12.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Generic types implementing functionality of arrays +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/generic-array Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(typenum/default) >= 1.10.0 with crate(typenum/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0) -BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) -%endif -%global _description \ -Generic types implementing functionality of arrays. +%global _description %{expand: +Generic types implementing functionality of arrays.} %description %{_description} @@ -70,6 +68,9 @@ which use "serde" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -82,6 +83,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 09:18:50 CEST 2019 Igor Gnatenko - 0.12.0-5 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.12.0-4 - Do not pull optional dependencies