diff --git a/rust-scopeguard.spec b/rust-scopeguard.spec index 2999d1a..f329a29 100644 --- a/rust-scopeguard.spec +++ b/rust-scopeguard.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm-9-1.fc31 -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate scopeguard Name: rust-%{crate} Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: RAII scope guard that will run a given closure when it goes out of scope # Upstream license specification: MIT/Apache-2.0 @@ -15,15 +15,18 @@ URL: https://crates.io/crates/scopeguard Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -A RAII scope guard that will run a given closure when it goes out of scope,\ -even if the code between panics (assuming unwinding panic).\ -\ -Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as\ -shorthands for guards with one of the implemented strategies. +%global _description %{expand: +RAII scope guard that will run a given closure when it goes out of scope, even +if the code between panics (assuming unwinding panic). + +Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as +shorthands for guards with one of the implemented strategies.} %description %{_description} @@ -81,6 +84,9 @@ which use "use_std" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 15:34:55 CEST 2019 Igor Gnatenko - 1.0.0-2 +- Regenerate + * Mon May 06 15:45:17 CEST 2019 Igor Gnatenko - 1.0.0-1 - Update to 1.0.0