From c3f7df285098d57190c3c2f761f1c9fa864046f6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 4 Mar 2019 12:51:42 +0100 Subject: [PATCH] Update to 1.0.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-scoped-tls.spec | 25 ++++++++----------------- sources | 2 +- tests/.fmf/version | 1 + tests/provision.fmf | 5 +++++ tests/tests.yml | 13 +++++++++++++ 6 files changed, 29 insertions(+), 18 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 4d71c9b..022a5a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /scoped-tls-0.1.0.crate /scoped-tls-0.1.1.crate /scoped-tls-0.1.2.crate +/scoped-tls-1.0.0.crate diff --git a/rust-scoped-tls.spec b/rust-scoped-tls.spec index c2a5133..4ff9939 100644 --- a/rust-scoped-tls.spec +++ b/rust-scoped-tls.spec @@ -1,18 +1,18 @@ # Generated by rust2rpm -%bcond_without check +%bcond_with check %global debug_package %{nil} %global crate scoped-tls Name: rust-%{crate} -Version: 0.1.2 -Release: 4%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: Implementation of the standard library's old `scoped_thread_local!` macro # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/scoped-tls -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} @@ -52,20 +52,8 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-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 - %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -80,6 +68,9 @@ which use "nightly" feature of "%{crate}" crate. %endif %changelog +* Mon Mar 04 2019 Igor Gnatenko - 1.0.0-1 +- Update to 1.0.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 1b242c3..b47b117 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scoped-tls-0.1.2.crate) = 9e1a517994f06dcdafa05f3ebe67958ed5bc751e6180cff6c891f48fbc143f3279aa841e6109be2c403b492162bdd90b23cf74aeb2154a34748c5d495789fd73 +SHA512 (scoped-tls-1.0.0.crate) = f09dd404bb45349ef444e7274a2aabfeaeda7c3c9f964bf5c52c39984c137f63bdf9fb3e33df8e312e52872f7721de25951a7f3b8333a670626c51afd36d314c 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..9edf8ff --- /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-scoped-tls