Enable tests

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 5 years ago
parent 6af945ddd6
commit b7362b302f
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,12 +1,12 @@
# Generated by rust2rpm 10 # Generated by rust2rpm 11
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate sysinfo %global crate sysinfo
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.10.2 Version: 0.10.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Library to handle processes Summary: Library to handle processes
# Upstream license specification: MIT # Upstream license specification: MIT
@ -25,8 +25,7 @@ BuildArch: noarch
BuildRequires: rust-packaging BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
A system handler to get information and interact with processes written in Library to handle processes.}
Rust.}
%description %{_description} %description %{_description}
@ -99,6 +98,9 @@ which use "debug" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Fri Dec 13 18:40:36 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.2-2
- Enable tests
* Thu Dec 12 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.10.2-1 * Thu Dec 12 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.10.2-1
- Update to 0.10.2 - Update to 0.10.2

@ -1,12 +1,12 @@
--- sysinfo-0.10.2/Cargo.toml 1970-01-01T00:00:00+00:00 --- sysinfo-0.10.2/Cargo.toml 1970-01-01T00:00:00+00:00
+++ sysinfo-0.10.2/Cargo.toml 2019-12-12T14:01:32.636646+00:00 +++ sysinfo-0.10.2/Cargo.toml 2019-12-13T17:40:36.455517+00:00
@@ -39,12 +39,7 @@ @@ -39,12 +39,6 @@
debug = ["libc/extra_traits"] debug = ["libc/extra_traits"]
[target."cfg(not(target_os = \"unknown\"))".dependencies.libc] [target."cfg(not(target_os = \"unknown\"))".dependencies.libc]
version = "0.2" version = "0.2"
-[target."cfg(windows)".dependencies.ntapi] -[target."cfg(windows)".dependencies.ntapi]
-version = "0.3" -version = "0.3"
-
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]
-version = "0.3" -version = "0.3"
-features = ["fileapi", "handleapi", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "objbase"] -features = ["fileapi", "handleapi", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "objbase"]

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -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-sysinfo
Loading…
Cancel
Save