|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|