diff --git a/http-fix-metadata.diff b/http-fix-metadata.diff deleted file mode 100644 index c9fffa9..0000000 --- a/http-fix-metadata.diff +++ /dev/null @@ -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" diff --git a/rust-http.spec b/rust-http.spec index c92bb46..8a8cd67 100644 --- a/rust-http.spec +++ b/rust-http.spec @@ -1,21 +1,19 @@ # Generated by rust2rpm -%bcond_without check +# Tests are run in infrastructure +%bcond_with check %global debug_package %{nil} %global crate http Name: rust-%{crate} Version: 0.1.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Set of types for representing HTTP requests and responses # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/http 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} @@ -27,7 +25,7 @@ BuildRequires: (crate(itoa) >= 0.4.1 with crate(itoa) < 0.5.0) %if %{with check} # [dev-dependencies] 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(seahash) >= 3.0.5 with crate(seahash) < 4.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}/ %changelog +* Mon Sep 10 2018 Igor Gnatenko - 0.1.12-2 +- Run tests in infrastructure + * Mon Sep 10 2018 Igor Gnatenko - 0.1.12-1 - Update to 0.1.12