From 75cddacb988b181bc0718074300c997005929da3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 9 Jun 2019 10:41:02 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- regex-automata-fix-metadata.diff | 11 ++++++++++- rust-regex-automata.spec | 21 +++++++++++++++------ 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/regex-automata-fix-metadata.diff b/regex-automata-fix-metadata.diff index 7e42d09..eb4b3ed 100644 --- a/regex-automata-fix-metadata.diff +++ b/regex-automata-fix-metadata.diff @@ -1,5 +1,5 @@ --- regex-automata-0.1.6/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ regex-automata-0.1.6/Cargo.toml 2019-04-16T06:34:36.793307+00:00 ++++ regex-automata-0.1.6/Cargo.toml 2019-06-09T08:44:45.902196+00:00 @@ -14,7 +14,7 @@ name = "regex-automata" version = "0.1.6" @@ -9,3 +9,12 @@ autotests = false description = "Automata construction and matching using regular expressions." homepage = "https://github.com/BurntSushi/regex-automata" +@@ -65,7 +65,7 @@ + version = "1.0.82" + + [dev-dependencies.serde_bytes] +-version = "0.10.4" ++version = "0.11" + + [dev-dependencies.serde_derive] + version = "1.0.82" diff --git a/rust-regex-automata.spec b/rust-regex-automata.spec index 4bce52c..0fbefbf 100644 --- a/rust-regex-automata.spec +++ b/rust-regex-automata.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate regex-automata Name: rust-%{crate} Version: 0.1.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automata construction and matching using regular expressions # Upstream license specification: Unlicense/MIT @@ -15,11 +15,16 @@ URL: https://crates.io/crates/regex-automata Source: %{crates_source} # Initial patched metadata # * Exclude test files +# * Update serde_bytes to 0.11, https://github.com/BurntSushi/regex-automata/pull/3 Patch0: regex-automata-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(byteorder) >= 1.2.7 with crate(byteorder) < 2.0.0) BuildRequires: (crate(regex-syntax/default) >= 0.6.4 with crate(regex-syntax/default) < 0.7.0) BuildRequires: (crate(utf8-ranges/default) >= 1.0.0 with crate(utf8-ranges/default) < 2.0.0) @@ -27,13 +32,14 @@ BuildRequires: (crate(utf8-ranges/default) >= 1.0.0 with crate(utf8-ranges/defa BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0) BuildRequires: (crate(serde/default) >= 1.0.82 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde_bytes/default) >= 0.10.4 with crate(serde_bytes/default) < 0.11.0) +BuildRequires: (crate(serde_bytes/default) >= 0.11.0 with crate(serde_bytes/default) < 0.12.0) BuildRequires: (crate(serde_derive/default) >= 1.0.82 with crate(serde_derive/default) < 2.0.0) BuildRequires: (crate(toml/default) >= 0.4.10 with crate(toml/default) < 0.5.0) %endif +%endif -%global _description \ -Automata construction and matching using regular expressions. +%global _description %{expand: +Automata construction and matching using regular expressions.} %description %{_description} @@ -115,5 +121,8 @@ which use "utf8-ranges" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 10:40:42 CEST 2019 Igor Gnatenko - 0.1.6-2 +- Regenerate + * Tue Apr 16 08:34:36 CEST 2019 Igor Gnatenko - 0.1.6-1 - Initial package