Run tests in infrastructure

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

@ -1,21 +1,21 @@
# Generated by rust2rpm # Generated by rust2rpm
%bcond_without check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate socket2 %global crate socket2
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.3.8 Version: 0.3.8
Release: 3%{?dist} Release: 4%{?dist}
Summary: Utilities for handling networking sockets Summary: Utilities for handling networking sockets
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/socket2 URL: https://crates.io/crates/socket2
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * No windows or redox # * No windows or redox
Patch0: socket2-0.3.7-fix-metadata.diff Patch0: socket2-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -95,7 +95,7 @@ which use "unix" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%build %build
@ -110,6 +110,9 @@ which use "unix" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Tue Feb 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.8-4
- Run tests in infrastructure
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-3 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -1,5 +1,5 @@
--- socket2-0.3.7/Cargo.toml 1970-01-01T01:00:00+01:00 --- socket2-0.3.8/Cargo.toml 1970-01-01T01:00:00+01:00
+++ socket2-0.3.7/Cargo.toml 2018-06-28T11:00:16.832072+02:00 +++ socket2-0.3.8/Cargo.toml 2019-02-12T07:58:22.971530+01:00
@@ -33,8 +33,3 @@ @@ -33,8 +33,3 @@
[target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc] [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc]

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