From 03778732391a6d00498aa06ae9f31c04ef66119a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 21 Jul 2018 08:24:24 +0200 Subject: [PATCH] Update to 0.5.1 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + ...diff => crossbeam-epoch-0.5.1-fix-metadata.diff | 4 ++-- rust-crossbeam-epoch.spec | 14 +++++++++----- sources | 2 +- tests/tests.yml | 13 +++++++++++++ 5 files changed, 26 insertions(+), 8 deletions(-) rename crossbeam-epoch-0.5.0-fix-metadata.diff => crossbeam-epoch-0.5.1-fix-metadata.diff (56%) create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 63381c8..6669aaf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /crossbeam-epoch-0.4.1.crate /crossbeam-epoch-0.4.3.crate /crossbeam-epoch-0.5.0.crate +/crossbeam-epoch-0.5.1.crate diff --git a/crossbeam-epoch-0.5.0-fix-metadata.diff b/crossbeam-epoch-0.5.1-fix-metadata.diff similarity index 56% rename from crossbeam-epoch-0.5.0-fix-metadata.diff rename to crossbeam-epoch-0.5.1-fix-metadata.diff index 65c9681..3c2d929 100644 --- a/crossbeam-epoch-0.5.0-fix-metadata.diff +++ b/crossbeam-epoch-0.5.1-fix-metadata.diff @@ -1,5 +1,5 @@ ---- crossbeam-epoch-0.5.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ crossbeam-epoch-0.5.0/Cargo.toml 2018-06-16T12:32:06.975775+02:00 +--- crossbeam-epoch-0.5.1/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ crossbeam-epoch-0.5.1/Cargo.toml 2018-07-21T08:25:17.603323+02:00 @@ -48,6 +48,5 @@ [features] diff --git a/rust-crossbeam-epoch.spec b/rust-crossbeam-epoch.spec index 964e4aa..8089892 100644 --- a/rust-crossbeam-epoch.spec +++ b/rust-crossbeam-epoch.spec @@ -1,12 +1,13 @@ # Generated by rust2rpm -%bcond_without check +# Tests are run in infrastructure +%bcond_with check %global debug_package %{nil} %global crate crossbeam-epoch Name: rust-%{crate} -Version: 0.5.0 -Release: 2%{?dist} +Version: 0.5.1 +Release: 1%{?dist} Summary: Epoch-based garbage collection License: MIT or ASL 2.0 @@ -14,7 +15,7 @@ URL: https://crates.io/crates/crossbeam-epoch Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * no nightly features -Patch0: crossbeam-epoch-0.5.0-fix-metadata.diff +Patch0: crossbeam-epoch-0.5.1-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -28,7 +29,7 @@ BuildRequires: (crate(memoffset) >= 0.2.0 with crate(memoffset) < 0.3.0) BuildRequires: (crate(scopeguard) >= 0.3.0 with crate(scopeguard) < 0.4.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) +BuildRequires: (crate(rand) >= 0.5.0 with crate(rand) < 0.6.0) %endif %description @@ -65,6 +66,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sat Jul 21 2018 Igor Gnatenko - 0.5.1-1 +- Update to 0.5.1 + * Sat Jul 14 2018 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 779e1d6..08c5c4f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossbeam-epoch-0.5.0.crate) = c084c3d4cc7e646a53163ed13d92351d1445ed7c8aae782e908463d6228263c65351157a49f6417d20ac34087ad76069559bcebf628d80c603f54ac4597b7549 +SHA512 (crossbeam-epoch-0.5.1.crate) = 75ade1376538c9feb6a07b44edaf8a2cc8c70719079c7164f4343cee3f7dac06d782166af813ce3251ae6e102a993ce53b9e50a42179e30b0299ec75b1a86d52 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..d3f718f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/rust.git" + dest: rust + tests: + - rust/cargo-test + environment: + pkg: rust-crossbeam-epoch