From 086fe0fd55b012cb3f783490692bd00db6f898d0 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 28 Jan 2019 15:31:22 -0800 Subject: [PATCH] Update to 0.6.4 --- .gitignore | 1 + rust-crossbeam-utils.spec | 27 ++++++++++++++++++++++----- sources | 2 +- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c2e6433..f94643e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /crossbeam-utils-0.4.1.crate /crossbeam-utils-0.5.0.crate /crossbeam-utils-0.6.3.crate +/crossbeam-utils-0.6.4.crate diff --git a/rust-crossbeam-utils.spec b/rust-crossbeam-utils.spec index fb8a8fb..5b11650 100644 --- a/rust-crossbeam-utils.spec +++ b/rust-crossbeam-utils.spec @@ -6,19 +6,23 @@ %global crate crossbeam-utils Name: rust-%{crate} -Version: 0.6.3 +Version: 0.6.4 Release: 1%{?dist} Summary: Utilities for concurrent programming # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/crossbeam-utils -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) +BuildRequires: (crate(lazy_static/default) >= 1.1.0 with crate(lazy_static/default) < 2.0.0) +%if %{with check} +BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) +%endif %global _description \ Utilities for concurrent programming. @@ -51,6 +55,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+lazy_static-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lazy_static-devel %{_description} + +This package contains library source intended for building other packages +which use "lazy_static" feature of "%{crate}" crate. + +%files -n %{name}+lazy_static-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -64,9 +80,7 @@ which use "std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 -# https://github.com/crossbeam-rs/crossbeam/pull/265 -chmod -x benches/atomic_cell.rs +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -81,6 +95,9 @@ chmod -x benches/atomic_cell.rs %endif %changelog +* Mon Jan 28 2019 Josh Stone - 0.6.4-1 +- Update to 0.6.4 + * Sat Dec 15 2018 Igor Gnatenko - 0.6.3-1 - Update to 0.6.3 diff --git a/sources b/sources index 9431f1a..80bb2f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-utils-0.6.3.crate) = 3a6df428dc2791a76823be7658905be2c45bb859703bc13e5c1142c4e5c815f2c0bc12da7419370c541afbba8e85c078f0ee0da65c27502972a6187c80b8ee7d +SHA512 (crossbeam-utils-0.6.4.crate) = 23c845189d6a6e1d02477d6a1fdc519a17a0b0f498634d5076740df5164802f66965c38e7a10278dd4123a033916de64c724f4635a541ff4fe6a35acde1a1ec7