Run tests in infrastructure

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

@ -1,18 +1,18 @@
# Generated by rust2rpm
%bcond_without check
%bcond_with check
%global debug_package %{nil}
%global crate time
Name: rust-%{crate}
Version: 0.1.42
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Utilities for working with time-related functions in Rust
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/time
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
# Initial patched metadata
# * No windows/redox
# * Exclude CI files, https://github.com/rust-lang-deprecated/time/pull/170
@ -71,7 +71,7 @@ which use "rustc-serialize" 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
@ -86,6 +86,9 @@ which use "rustc-serialize" feature of "%{crate}" crate.
%endif
%changelog
* Tue Mar 05 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.42-3
- Run tests in infrastructure
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.42-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-time

@ -1,5 +1,5 @@
--- time-0.1.40/Cargo.toml 1970-01-01T01:00:00+01:00
+++ time-0.1.40/Cargo.toml 2018-10-31T12:07:30.284075+01:00
--- time-0.1.42/Cargo.toml 1970-01-01T01:00:00+01:00
+++ time-0.1.42/Cargo.toml 2019-03-05T20:16:56.228134+01:00
@@ -19,6 +19,7 @@
documentation = "https://doc.rust-lang.org/time"
license = "MIT/Apache-2.0"

Loading…
Cancel
Save