From cf3d3e6ea17a12f2c74b48a2c4adb94ce26572cf Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Nov 29 2017 09:59:23 +0000 Subject: Bump quickcheck to 0.5 Signed-off-by: Igor Gnatenko --- diff --git a/memchr-2.0.0-fix-metadata.diff b/memchr-2.0.0-fix-metadata.diff new file mode 100644 index 0000000..c4315a8 --- /dev/null +++ b/memchr-2.0.0-fix-metadata.diff @@ -0,0 +1,11 @@ +--- memchr-2.0.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ memchr-2.0.0/Cargo.toml 2017-11-29T10:55:52.939756+01:00 +@@ -32,7 +32,7 @@ + optional = true + default-features = false + [dev-dependencies.quickcheck] +-version = "0.4.1" ++version = "0.5" + default-features = false + + [features] diff --git a/rust-memchr.spec b/rust-memchr.spec index f2d4117..bea34ac 100644 --- a/rust-memchr.spec +++ b/rust-memchr.spec @@ -1,18 +1,21 @@ # Generated by rust2rpm # memchr(dev) -> quickcheck(opt) -> env_logger(opt) -> regex -> memchr -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate memchr Name: rust-%{crate} Version: 2.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Safe interface to memchr License: Unlicense or MIT URL: https://crates.io/crates/memchr Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump memchr to 0.5, https://github.com/BurntSushi/rust-memchr/pull/22 +Patch0: memchr-2.0.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -21,7 +24,7 @@ BuildRequires: rust-packaging BuildRequires: (crate(libc) >= 0.2.18 with crate(libc) < 0.3.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(quickcheck) >= 0.4.1 with crate(quickcheck) < 0.5.0) +BuildRequires: (crate(quickcheck) >= 0.5.0 with crate(quickcheck) < 0.6.0) %endif %description @@ -59,6 +62,10 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,appveyor.yml,ctags.rust,session.vim} %changelog +* Wed Nov 29 2017 Igor Gnatenko - 2.0.0-2 +- Bump quickcheck to 0.5 +- Enable tests + * Mon Nov 06 2017 Igor Gnatenko - 2.0.0-1 - Update to 2.0.0