From b1b6bc986e50808c2e2bf2dd5a5ee0bd7aec713b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 29 Nov 2017 11:08:43 +0100 Subject: [PATCH] Bump quickcheck to 0.5 Signed-off-by: Igor Gnatenko --- rust-regex-syntax.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/rust-regex-syntax.spec b/rust-regex-syntax.spec index 7ada76d..0a7147f 100644 --- a/rust-regex-syntax.spec +++ b/rust-regex-syntax.spec @@ -1,26 +1,29 @@ # Generated by rust2rpm # regex-syntax -> quickcheck(dev) -> env_logger -> regex(opt) -> regex-syntax -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate regex-syntax Name: rust-%{crate} Version: 0.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Regular expression parser # https://github.com/rust-lang/regex/issues/342 License: MIT or ASL 2.0 URL: https://crates.io/crates/regex-syntax Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump quickcheck to 0.5, https://github.com/rust-lang/regex/pull/420 +Patch0: regex-syntax-0.4.1-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %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) BuildRequires: (crate(rand) >= 0.3.15 with crate(rand) < 0.4.0) %endif @@ -56,6 +59,10 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Wed Nov 29 2017 Igor Gnatenko - 0.4.1-2 +- Bump quickcheck to 0.5 +- Enable tests + * Wed Jun 14 2017 Igor Gnatenko - 0.4.1-1 - Update to 0.4.1