From a7465007bad38e51aecd6a02ca703416863232b3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 20 Apr 2019 17:43:17 +0200 Subject: [PATCH] Update to 0.0.22 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-goblin.spec | 13 ++++++++----- sources | 2 +- tests/.fmf/version | 1 + tests/provision.fmf | 5 +++++ tests/tests.yml | 13 +++++++++++++ 6 files changed, 29 insertions(+), 6 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 6f94b2c..f1c62f0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /goblin-0.0.15.crate /goblin-0.0.17.crate /goblin-0.0.19.crate +/goblin-0.0.22.crate diff --git a/rust-goblin.spec b/rust-goblin.spec index f4ab47d..dbb0e6c 100644 --- a/rust-goblin.spec +++ b/rust-goblin.spec @@ -1,17 +1,17 @@ # Generated by rust2rpm -%bcond_without check +%bcond_with check %global debug_package %{nil} %global crate goblin Name: rust-%{crate} -Version: 0.0.19 -Release: 2%{?dist} +Version: 0.0.22 +Release: 1%{?dist} Summary: Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate License: MIT URL: https://crates.io/crates/goblin -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} @@ -186,7 +186,7 @@ which use "std" 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 @@ -201,6 +201,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Apr 20 17:38:28 CEST 2019 Igor Gnatenko - 0.0.22-1 +- Update to 0.0.22 + * Sat Feb 02 2019 Fedora Release Engineering - 0.0.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 08253f8..5a703a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (goblin-0.0.19.crate) = 50758bd04e31fee5023fde437833ff59a55d717a79a447190b114bdd81794664b3d4be948b62cf5c6243a3d02b28c54f82d6e3da4ee021fb76e6626ebc29d8fd +SHA512 (goblin-0.0.22.crate) = 586c676a1fd11b992649d4240db55badaf6b39e2e59c7bbd9ab82bbc9f6cc4ff2db52c682bfe6abf3f61494a504b3364739b0235ab848e90c77380f02589af6f 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..5daf419 --- /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-goblin