diff --git a/rust-xz2.spec b/rust-xz2.spec index 3eec2f3..8bdc8da 100644 --- a/rust-xz2.spec +++ b/rust-xz2.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 xz2 Name: rust-%{crate} Version: 0.1.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Rust bindings to liblzma License: MIT or ASL 2.0 @@ -64,6 +65,9 @@ sed -i -e "/fn standard_files/i #[ignore]" tests/xz.rs %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sat Jul 28 2018 Igor Gnatenko - 0.1.5-3 +- Rebuild to trigger tests + * Sat Jul 14 2018 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..8afca95 --- /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-xz2