Run tests in infrastructure

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

@ -1,11 +0,0 @@
--- http-0.1.12/Cargo.toml 1970-01-01T01:00:00+01:00
+++ http-0.1.12/Cargo.toml 2018-09-10T08:50:11.500663+02:00
@@ -42,7 +42,7 @@
version = "1.0"
[dev-dependencies.quickcheck]
-version = "0.6"
+version = "0.7"
[dev-dependencies.rand]
version = "0.4"

@ -1,21 +1,19 @@
# Generated by rust2rpm # Generated by rust2rpm
%bcond_without check # Tests are run in infrastructure
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate http %global crate http
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.12 Version: 0.1.12
Release: 1%{?dist} Release: 2%{?dist}
Summary: Set of types for representing HTTP requests and responses Summary: Set of types for representing HTTP requests and responses
# 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/http URL: https://crates.io/crates/http
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump quickcheck to 0.7, https://github.com/hyperium/http/pull/246
Patch0: http-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -27,7 +25,7 @@ BuildRequires: (crate(itoa) >= 0.4.1 with crate(itoa) < 0.5.0)
%if %{with check} %if %{with check}
# [dev-dependencies] # [dev-dependencies]
BuildRequires: (crate(indexmap) >= 1.0.0 with crate(indexmap) < 2.0.0) BuildRequires: (crate(indexmap) >= 1.0.0 with crate(indexmap) < 2.0.0)
BuildRequires: (crate(quickcheck) >= 0.7.0 with crate(quickcheck) < 0.8.0) BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0)
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
BuildRequires: (crate(seahash) >= 3.0.5 with crate(seahash) < 4.0.0) BuildRequires: (crate(seahash) >= 3.0.5 with crate(seahash) < 4.0.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
@ -68,6 +66,9 @@ which use %{crate} from crates.io.
%{cargo_registry}/%{crate}-%{version}/ %{cargo_registry}/%{crate}-%{version}/
%changelog %changelog
* Mon Sep 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.12-2
- Run tests in infrastructure
* Mon Sep 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.12-1 * Mon Sep 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.12-1
- Update to 0.1.12 - Update to 0.1.12

Loading…
Cancel
Save