From 9132f836e1b08cf1838b43f937fcc0c603412c01 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 21 Jun 2019 20:14:32 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-error-chain.spec | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/rust-error-chain.spec b/rust-error-chain.spec index b7e7701..b8584d4 100644 --- a/rust-error-chain.spec +++ b/rust-error-chain.spec @@ -1,14 +1,16 @@ -# Generated by rust2rpm-9-1.fc31 +# Generated by rust2rpm 10 +# * https://github.com/rust-lang-nursery/error-chain/issues/242 %bcond_with check %global debug_package %{nil} +# https://github.com/rust-lang-nursery/error-chain/issues/267 %global __cargo_is_bin() false %global crate error-chain Name: rust-%{crate} Version: 0.12.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Error boilerplate library # Upstream license specification: MIT/Apache-2.0 @@ -17,13 +19,14 @@ URL: https://crates.io/crates/error-chain Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(backtrace/default) >= 0.3.3 with crate(backtrace/default) < 0.4.0) -BuildRequires: (crate(version_check/default) >= 0.1.5 with crate(version_check/default) < 0.2.0) -%global _description \ -Yet another error boilerplate library. +%global _description %{expand: +Yet another error boilerplate library.} %description %{_description} @@ -81,6 +84,9 @@ which use "example_generated" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -89,11 +95,13 @@ which use "example_generated" feature of "%{crate}" crate. %if %{with check} %check -# https://github.com/rust-lang-nursery/error-chain/issues/242 -%cargo_test || : +%cargo_test %endif %changelog +* Fri Jun 21 20:11:52 CEST 2019 Igor Gnatenko - 0.12.1-2 +- Regenerate + * Sun May 12 11:15:44 CEST 2019 Igor Gnatenko - 0.12.1-1 - Update to 0.12.1