Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent fda6b1adb9
commit d74dfbaa73
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

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

Loading…
Cancel
Save