Bump lazy_static to 1

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent b9bf4b0450
commit c6d331ad3b

@ -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 <ignatenkobrain@fedoraproject.org> - 0.1.8-2
- Bump lazy_static to 1
* Fri Nov 17 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-1
- Initial package

@ -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 = []
Loading…
Cancel
Save