diff --git a/rust-scoped_threadpool.spec b/rust-scoped_threadpool.spec index 4f60293..d05e2d7 100644 --- a/rust-scoped_threadpool.spec +++ b/rust-scoped_threadpool.spec @@ -6,19 +6,22 @@ Name: rust-%{crate} Version: 0.1.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for scoped and cached threadpools License: MIT URL: https://crates.io/crates/scoped_threadpool Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump lazy_static to 1, https://github.com/Kimundi/scoped-threadpool-rs/pull/17 +Patch0: scoped_threadpool-0.1.8-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %if %{with check} # [dev-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) %endif %description @@ -55,5 +58,8 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Nov 30 2017 Igor Gnatenko - 0.1.8-2 +- Bump lazy_static to 1 + * Fri Nov 17 2017 Igor Gnatenko - 0.1.8-1 - Initial package diff --git a/scoped_threadpool-0.1.8-fix-metadata.diff b/scoped_threadpool-0.1.8-fix-metadata.diff new file mode 100644 index 0000000..9408f40 --- /dev/null +++ b/scoped_threadpool-0.1.8-fix-metadata.diff @@ -0,0 +1,11 @@ +--- scoped_threadpool-0.1.8/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ scoped_threadpool-0.1.8/Cargo.toml 2017-11-30T18:20:07.066227+01:00 +@@ -21,7 +21,7 @@ + license = "MIT" + repository = "https://github.com/Kimundi/scoped-threadpool-rs" + [dev-dependencies.lazy_static] +-version = "0.2" ++version = "1" + + [features] + nightly = []