diff --git a/rust-thread_local.spec b/rust-thread_local.spec index 553df96..55794bb 100644 --- a/rust-thread_local.spec +++ b/rust-thread_local.spec @@ -6,18 +6,21 @@ Name: rust-%{crate} Version: 0.3.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Per-object thread-local storage License: ASL 2.0 or MIT URL: https://crates.io/crates/thread_local Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump lazy_static to 1, https://github.com/Amanieu/thread_local-rs/pull/11 +Patch0: thread_local-0.3.4-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(lazy_static) >= 0.2.0 with crate(lazy_static) < 0.3.0) +BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(unreachable) >= 1.0.0 with crate(unreachable) < 2.0.0) %description @@ -54,6 +57,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Nov 30 2017 Igor Gnatenko - 0.3.4-2 +- Bump lazy_static to 1 + * Sat Jul 01 2017 Igor Gnatenko - 0.3.4-1 - Update to 0.3.4 diff --git a/thread_local-0.3.4-fix-metadata.diff b/thread_local-0.3.4-fix-metadata.diff new file mode 100644 index 0000000..96eb575 --- /dev/null +++ b/thread_local-0.3.4-fix-metadata.diff @@ -0,0 +1,8 @@ +--- thread_local-0.3.4/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ thread_local-0.3.4/Cargo.toml 2017-11-30T18:10:41.919586+01:00 +@@ -24,4 +24,4 @@ + version = "1.0" + + [dependencies.lazy_static] +-version = "0.2" ++version = "1"