diff --git a/.gitignore b/.gitignore index c55ee11..e231f5c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /scopeguard-0.3.3.crate +/scopeguard-1.0.0.crate diff --git a/rust-scopeguard.spec b/rust-scopeguard.spec index b7a679b..2999d1a 100644 --- a/rust-scopeguard.spec +++ b/rust-scopeguard.spec @@ -1,19 +1,18 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure +# Generated by rust2rpm-9-1.fc31 %bcond_with check %global debug_package %{nil} %global crate scopeguard Name: rust-%{crate} -Version: 0.3.3 -Release: 7%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: RAII scope guard that will run a given closure when it goes out of scope # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/scopeguard -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} @@ -23,8 +22,8 @@ BuildRequires: rust-packaging 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!` and `defer_on_unwind!`;\ -the latter only runs if the scope is extited through unwinding on panic. +Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as\ +shorthands for guards with one of the implemented strategies. %description %{_description} @@ -67,7 +66,7 @@ which use "use_std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -82,6 +81,9 @@ which use "use_std" feature of "%{crate}" crate. %endif %changelog +* Mon May 06 15:45:17 CEST 2019 Igor Gnatenko - 1.0.0-1 +- Update to 1.0.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.3.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 29e30b9..b42403d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scopeguard-0.3.3.crate) = 57ce8e32dbe342040a63ec65fbef3680d66d439f0f704c5d485670041505905cfc602e7e3580748b4b4a55ce892d17a453e6d2f853cf0de4c6a2082f0fe95719 +SHA512 (scopeguard-1.0.0.crate) = 4f2ca06ee2d9c46e42ab4c72596bc7c99fb7ed8db8e09bdceec010de51aae21497151c01fa72ec55f3bdf81ce964ba682ec64ee96586c5c315a5daa8bcee0b37