Run tests in infrastructure

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

@ -1,10 +0,0 @@
--- home-0.3.3/Cargo.toml 1970-01-01T01:00:00+01:00
+++ home-0.3.3/Cargo.toml 2018-05-12T08:50:15.923844+02:00
@@ -20,7 +20,3 @@
repository = "https://github.com/brson/home"
[target."cfg(windows)".dependencies.scopeguard]
version = "0.3"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["errhandlingapi", "handleapi", "processthreadsapi", "std", "winerror", "winnt", "userenv"]

@ -0,0 +1,12 @@
--- home-0.3.4/Cargo.toml 1970-01-01T00:00:00+00:00
+++ home-0.3.4/Cargo.toml 2019-05-07T05:35:00.064849+00:00
@@ -18,9 +18,3 @@
documentation = "https://docs.rs/home"
license = "MIT/Apache-2.0"
repository = "https://github.com/brson/home"
-[target."cfg(windows)".dependencies.scopeguard]
-version = "0.3"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["errhandlingapi", "handleapi", "processthreadsapi", "std", "winerror", "winnt", "userenv"]

@ -1,27 +1,26 @@
# Generated by rust2rpm
%bcond_without check
# Generated by rust2rpm-9-1.fc31
%bcond_with check
%global debug_package %{nil}
%global crate home
Name: rust-%{crate}
Version: 0.3.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Shared definitions of home directories
# Upstream license specification: MIT/Apache-2.0
# https://github.com/brson/home/issues/2
License: MIT or ASL 2.0
URL: https://crates.io/crates/home
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
# Initial patched metadata
# * No windows
Patch0: home-0.3.3-fix-metadata.diff
Patch0: home-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(scopeguard/default) >= 0.3.0 with crate(scopeguard/default) < 0.4.0)
%global _description \
Shared definitions of home directories.
@ -54,7 +53,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
@ -69,6 +68,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Tue May 07 07:34:31 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.4-3
- Run tests in infrastructure
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

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