diff --git a/.gitignore b/.gitignore index 49627b9..705a68b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /parking_lot_core-0.3.0.crate /parking_lot_core-0.3.1.crate /parking_lot_core-0.4.0.crate +/parking_lot_core-0.5.0.crate diff --git a/parking_lot_core-fix-metadata.diff b/parking_lot_core-fix-metadata.diff index 9473970..813262d 100644 --- a/parking_lot_core-fix-metadata.diff +++ b/parking_lot_core-fix-metadata.diff @@ -1,7 +1,13 @@ ---- parking_lot_core-0.4.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ parking_lot_core-0.4.0/Cargo.toml 2019-03-10T20:19:27.617380+01:00 -@@ -44,6 +44,3 @@ +--- parking_lot_core-0.5.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ parking_lot_core-0.5.0/Cargo.toml 2019-05-06T13:46:51.162406+00:00 +@@ -46,12 +46,5 @@ + [features] + deadlock_detection = ["petgraph", "thread-id", "backtrace"] nightly = [] +-[target."cfg(target_os = \"cloudabi\")".dependencies.cloudabi] +-version = "0.0.3" +-[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] +-version = "0.1" [target."cfg(unix)".dependencies.libc] version = "0.2.27" -[target."cfg(windows)".dependencies.winapi] diff --git a/rust-parking_lot_core.spec b/rust-parking_lot_core.spec index a7158fa..02cd7dc 100644 --- a/rust-parking_lot_core.spec +++ b/rust-parking_lot_core.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure +# Generated by rust2rpm-9-1.fc31 %bcond_with check %global debug_package %{nil} %global crate parking_lot_core Name: rust-%{crate} -Version: 0.4.0 -Release: 3%{?dist} +Version: 0.5.0 +Release: 1%{?dist} Summary: Advanced API for creating custom synchronization primitives # Upstream license specification: Apache-2.0/MIT @@ -21,6 +20,7 @@ Patch0: parking_lot_core-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging +BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) BuildRequires: (crate(libc/default) >= 0.2.27 with crate(libc/default) < 0.3.0) BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) BuildRequires: (crate(rustc_version/default) >= 0.2.0 with crate(rustc_version/default) < 0.3.0) @@ -80,6 +80,18 @@ which use "deadlock_detection" feature of "%{crate}" crate. %files -n %{name}+deadlock_detection-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages +which use "nightly" feature of "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+petgraph-devel Summary: %{summary} BuildArch: noarch @@ -120,6 +132,9 @@ which use "thread-id" feature of "%{crate}" crate. %endif %changelog +* Mon May 06 15:46:51 CEST 2019 Igor Gnatenko - 0.5.0-1 +- Update to 0.5.0 + * Sun Mar 10 2019 Igor Gnatenko - 0.4.0-3 - Do not pull optional dependencies diff --git a/sources b/sources index a4c8e78..2c05063 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (parking_lot_core-0.4.0.crate) = 25c0389e9d3d88725398fb304d3a4c20a3da0bf0d67f12c7cdca38f8068dc6ea7b57341579136cf4792cbb92fd64dd33cd91412463f4df8902e1b8c87ca08d08 +SHA512 (parking_lot_core-0.5.0.crate) = fd90b0a82713d329045da37ad4ab6b66d1e860f0a6ddcdf102e8740b98badfc83d6c056210618fb339271f1f68545090287528590d337d34a31bd7fdb70b0dc8