From 7b33ae6586ba33349b4cb40f5a215a6b6c06e83c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 09 2019 08:27:21 +0000 Subject: Regenerate Signed-off-by: Igor Gnatenko --- diff --git a/regex-fix-metadata.diff b/regex-fix-metadata.diff new file mode 100644 index 0000000..2ad0879 --- /dev/null +++ b/regex-fix-metadata.diff @@ -0,0 +1,11 @@ +--- regex-1.1.6/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ regex-1.1.6/Cargo.toml 2019-06-09T08:27:03.553646+00:00 +@@ -88,7 +88,7 @@ + version = "1" + + [dev-dependencies.quickcheck] +-version = "0.7" ++version = "0.8" + default-features = false + + [dev-dependencies.rand] diff --git a/rust-regex.spec b/rust-regex.spec index 7e69fa6..a197b65 100644 --- a/rust-regex.spec +++ b/rust-regex.spec @@ -1,23 +1,29 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate regex Name: rust-%{crate} Version: 1.1.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Implementation of regular expressions for Rust # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/regex Source: %{crates_source} +# Initial patched metadata +# * Update quickcheck to 0.8, https://github.com/rust-lang/regex/pull/586 +Patch0: regex-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(aho-corasick/default) >= 0.7.3 with crate(aho-corasick/default) < 0.8.0) BuildRequires: (crate(memchr/default) >= 2.0.2 with crate(memchr/default) < 3.0.0) BuildRequires: (crate(regex-syntax/default) >= 0.6.6 with crate(regex-syntax/default) < 0.7.0) @@ -25,13 +31,14 @@ BuildRequires: (crate(thread_local/default) >= 0.3.6 with crate(thread_local/de BuildRequires: (crate(utf8-ranges/default) >= 1.0.1 with crate(utf8-ranges/default) < 2.0.0) %if %{with check} BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) -BuildRequires: (crate(quickcheck) >= 0.7.0 with crate(quickcheck) < 0.8.0) +BuildRequires: (crate(quickcheck) >= 0.8.0 with crate(quickcheck) < 0.9.0) BuildRequires: (crate(rand/default) >= 0.6.5 with crate(rand/default) < 0.7.0) %endif +%endif -%global _description \ -An implementation of regular expressions for Rust. This implementation uses\ -finite automata and guarantees linear time matching on all inputs. +%global _description %{expand: +Implementation of regular expressions for Rust. This implementation uses finite +automata and guarantees linear time matching on all inputs.} %description %{_description} @@ -113,6 +120,9 @@ which use "use_std" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 10:24:45 CEST 2019 Igor Gnatenko - 1.1.6-2 +- Regenerate + * Tue Apr 16 2019 Josh Stone - 1.1.6-1 - Update to 1.1.6