From 58ce36ed09059038d30b6ed0595e9f6bdd6822ff Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 10 May 2018 11:29:57 +0200 Subject: [PATCH] Bump term to 0.5 Signed-off-by: Igor Gnatenko --- rust-rustc-test.spec | 10 ++++++++-- rustc-test-0.3.0-fix-metadata.diff | 11 +++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 rustc-test-0.3.0-fix-metadata.diff diff --git a/rust-rustc-test.spec b/rust-rustc-test.spec index 41526b7..d209a63 100644 --- a/rust-rustc-test.spec +++ b/rust-rustc-test.spec @@ -7,13 +7,16 @@ Name: rust-%{crate} Version: 0.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fork of Rust’s `test` crate that doesn’t require unstable language features # https://github.com/servo/rustc-test/issues/5 License: MIT or ASL 2.0 URL: https://crates.io/crates/rustc-test Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump term to 0.5, https://github.com/servo/rustc-test/pull/9 +Patch0: rustc-test-0.3.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -22,7 +25,7 @@ BuildRequires: rust-packaging BuildRequires: (crate(getopts) >= 0.2.0 with crate(getopts) < 0.3.0) BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) BuildRequires: (crate(rustc-serialize) >= 0.3.0 with crate(rustc-serialize) < 0.4.0) -BuildRequires: (crate(term) >= 0.4.0 with crate(term) < 0.5.0) +BuildRequires: (crate(term) >= 0.5.0 with crate(term) < 0.6.0) BuildRequires: (crate(time) >= 0.1.0 with crate(time) < 0.2.0) # [build-dependencies] BuildRequires: (crate(rustc_version) >= 0.2.1 with crate(rustc_version) < 0.3.0) @@ -59,6 +62,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu May 10 2018 Igor Gnatenko - 0.3.0-2 +- Bump term to 0.5 + * Tue Mar 13 2018 Igor Gnatenko - 0.3.0-1 - Update to 0.3.0 diff --git a/rustc-test-0.3.0-fix-metadata.diff b/rustc-test-0.3.0-fix-metadata.diff new file mode 100644 index 0000000..6ea6589 --- /dev/null +++ b/rustc-test-0.3.0-fix-metadata.diff @@ -0,0 +1,11 @@ +--- rustc-test-0.3.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ rustc-test-0.3.0/Cargo.toml 2018-05-10T11:30:14.308164+02:00 +@@ -27,7 +27,7 @@ + version = "0.3" + + [dependencies.term] +-version = "0.4" ++version = "0.5" + + [dependencies.time] + version = "0.1"