diff --git a/.gitignore b/.gitignore index 8ce518b..e7fce41 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /rustfix-0.4.2.crate /rustfix-0.4.4.crate +/rustfix-0.4.5.crate diff --git a/rust-rustfix.spec b/rust-rustfix.spec index 0b96841..a1045ca 100644 --- a/rust-rustfix.spec +++ b/rust-rustfix.spec @@ -6,14 +6,14 @@ %global crate rustfix Name: rust-%{crate} -Version: 0.4.4 -Release: 2%{?dist} +Version: 0.4.5 +Release: 1%{?dist} Summary: Automatically apply the suggestions made by rustc # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/rustfix -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * Use released version of env_logger Patch0: rustfix-fix-metadata.diff @@ -68,7 +68,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 @@ -83,6 +83,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Mar 26 15:36:52 CET 2019 Igor Gnatenko - 0.4.5-1 +- Update to 0.4.5 + * Sat Feb 02 2019 Fedora Release Engineering - 0.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index ee43735..73f22ee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustfix-0.4.4.crate) = f20866fbc1f98095abd9c2a78d1b8580640eb59396806426b30271d376c3c0f3ead3d01880370d34065b0c6e5c3fbbcf1007d60139d8e5a55c6e7c78cef865e0 +SHA512 (rustfix-0.4.5.crate) = 8ee5566dd5ddbf5f88543324a7caccb36f47e9c754a658d9e52b8ff966e8b1de9892dbcfb8d8c70c660758315cf21718e9b81b32b27faf4a978b3b144f19310b 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..cb59580 --- /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-rustfix