From a0160ed5d28f921a4432d93aff78ab5cf7d26f58 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 27 Mar 2019 22:01:21 +0100 Subject: [PATCH] Update to 0.3.8 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-arc-swap.spec | 20 +++++++++++--------- sources | 2 +- tests/.fmf/version | 1 + tests/provision.fmf | 5 +++++ tests/tests.yml | 13 +++++++++++++ 6 files changed, 32 insertions(+), 10 deletions(-) create mode 100644 tests/.fmf/version create mode 100644 tests/provision.fmf create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index ac36bd8..428fbad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /arc-swap-0.3.5.crate /arc-swap-0.3.6.crate /arc-swap-0.3.7.crate +/arc-swap-0.3.8.crate diff --git a/rust-arc-swap.spec b/rust-arc-swap.spec index 176aa3e..510b765 100644 --- a/rust-arc-swap.spec +++ b/rust-arc-swap.spec @@ -1,33 +1,32 @@ # Generated by rust2rpm -# model and proptest are not packaged yet %bcond_with check %global debug_package %{nil} %global crate arc-swap Name: rust-%{crate} -Version: 0.3.7 -Release: 2%{?dist} +Version: 0.3.8 +Release: 1%{?dist} Summary: Atomically swappable Arc # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/arc-swap -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %if %{with check} -BuildRequires: (crate(crossbeam-utils/default) >= 0.5.0 with crate(crossbeam-utils/default) < 0.6.0) +BuildRequires: (crate(crossbeam-utils/default) >= 0.6.0 with crate(crossbeam-utils/default) < 0.7.0) BuildRequires: (crate(crossbeam/default) >= 0.5.0 with crate(crossbeam/default) < 0.6.0) -BuildRequires: (crate(itertools/default) >= 0.7.0 with crate(itertools/default) < 0.8.0) +BuildRequires: (crate(itertools/default) >= 0.8.0 with crate(itertools/default) < 0.9.0) BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(model/default) >= 0.0.4 with crate(model/default) < 0.1.0) BuildRequires: (crate(num_cpus/default) >= 1.0.0 with crate(num_cpus/default) < 2.0.0) -BuildRequires: (crate(parking_lot/default) >= 0.6.0 with crate(parking_lot/default) < 0.7.0) +BuildRequires: (crate(parking_lot/default) >= 0.7.0 with crate(parking_lot/default) < 0.8.0) BuildRequires: (crate(proptest/default) >= 0.7.0 with crate(proptest/default) < 0.8.0) -BuildRequires: (crate(version-sync/default) >= 0.5.0 with crate(version-sync/default) < 0.6.0) +BuildRequires: (crate(version-sync/default) >= 0.7.0 with crate(version-sync/default) < 0.8.0) %endif %global _description \ @@ -62,7 +61,7 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -77,6 +76,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Mar 27 22:00:24 CET 2019 Igor Gnatenko - 0.3.8-1 +- Update to 0.3.8 + * Sat Feb 02 2019 Fedora Release Engineering - 0.3.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 731f8eb..47b6bfc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (arc-swap-0.3.7.crate) = f855e7d4c2edf9ba44e8f66858a1b9fd8ff01e1a64c8cdf3cadc6e7e6c64466c87bb2b8f65c13e51b5fcbb412991169043b44fcc239fc7f610cfa6cd09b5e538 +SHA512 (arc-swap-0.3.8.crate) = d9797f61ac7453d1f790c31b487b369f4dd2fd5115e3948d2c523f38f5b847b980a6b7415cd3e62a7036d9fff14ba12ed4c222f67b7244f76107ba06ee17e76c diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..503a97c --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + # `cargo test` usually eats more than 1G. + m: 4G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..2f06e1d --- /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-arc-swap