From aa2b4ef42b8cba1be83b7fb938a0f9ef8223f386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Fri, 13 Sep 2019 20:45:55 +0200 Subject: [PATCH] Bump quickcheck to 0.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert-André Mauchin --- im-rc-fix-metadata.diff | 11 +++++++++++ rust-im-rc.spec | 29 +++++++++++------------------ 2 files changed, 22 insertions(+), 18 deletions(-) create mode 100644 im-rc-fix-metadata.diff diff --git a/im-rc-fix-metadata.diff b/im-rc-fix-metadata.diff new file mode 100644 index 0000000..714a7b1 --- /dev/null +++ b/im-rc-fix-metadata.diff @@ -0,0 +1,11 @@ +--- im-rc-13.0.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ im-rc-13.0.0/Cargo.toml 2019-09-13T18:38:23.481997+00:00 +@@ -32,7 +32,7 @@ + optional = true + + [dependencies.quickcheck] +-version = "0.8" ++version = "0.9" + optional = true + + [dependencies.rayon] diff --git a/rust-im-rc.spec b/rust-im-rc.spec index b087d7c..a9a6e7c 100644 --- a/rust-im-rc.spec +++ b/rust-im-rc.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 # * metrohash and proptest-derive are not packaged %bcond_with check %global debug_package %{nil} @@ -7,13 +7,16 @@ Name: rust-%{crate} Version: 13.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Immutable collection datatypes (the fast but not thread safe version) # Upstream license specification: MPL-2.0+ License: MPLv2.0 URL: https://crates.io/crates/im-rc Source: %{crates_source} +# Initial patched metadata +# - Bump quickcheck to 0.9 (upstreamed) +Patch0: im-rc-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -21,22 +24,6 @@ BuildArch: noarch %endif BuildRequires: rust-packaging -%if ! %{__cargo_skip_build} -BuildRequires: (crate(rustc_version/default) >= 0.2.0 with crate(rustc_version/default) < 0.3.0) -BuildRequires: (crate(sized-chunks/default) >= 0.3.0 with crate(sized-chunks/default) < 0.4.0) -BuildRequires: (crate(typenum/default) >= 1.10.0 with crate(typenum/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(metrohash/default) >= 1.0.6 with crate(metrohash/default) < 2.0.0) -BuildRequires: (crate(pretty_assertions/default) >= 0.6.0 with crate(pretty_assertions/default) < 0.7.0) -BuildRequires: (crate(proptest-derive/default) >= 0.1.0 with crate(proptest-derive/default) < 0.2.0) -BuildRequires: (crate(proptest/default) >= 0.9.0 with crate(proptest/default) < 0.10.0) -BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) -BuildRequires: (crate(rayon/default) >= 1.0.0 with crate(rayon/default) < 2.0.0) -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) -BuildRequires: (crate(syntect/default) >= 3.1.0 with crate(syntect/default) < 4.0.0) -%endif -%endif %global _description %{expand: Immutable collection datatypes (the fast but not thread safe version).} @@ -121,6 +108,9 @@ which use "serde" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -133,6 +123,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Fri Sep 13 20:38:23 CEST 2019 Robert-André Mauchin - 13.0.0-3 +- Bump quickcheck to 0.9 + * Fri Jul 26 2019 Fedora Release Engineering - 13.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild