From 50f8a592531f61b943544d34b52b99e5c1450c2d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 14 Jun 2018 08:03:08 +0200 Subject: [PATCH] Bump regex to 1 Signed-off-by: Igor Gnatenko --- nom-3.2.1-fix-metadata.diff | 11 ++++++----- rust-nom.spec | 8 ++++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/nom-3.2.1-fix-metadata.diff b/nom-3.2.1-fix-metadata.diff index 177fa21..5390247 100644 --- a/nom-3.2.1-fix-metadata.diff +++ b/nom-3.2.1-fix-metadata.diff @@ -1,5 +1,5 @@ --- nom-3.2.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ nom-3.2.1/Cargo.toml 2017-11-30T18:15:15.012863+01:00 ++++ nom-3.2.1/Cargo.toml 2018-06-14T08:06:04.357807+02:00 @@ -23,19 +23,15 @@ license = "MIT" repository = "https://github.com/Geal/nom" @@ -7,18 +7,19 @@ -version = "^1.0.1" +version = "^2" default-features = false -- + -[dependencies.compiler_error] -version = "0.1.1" -optional = true - +- [dependencies.regex] - version = "^0.2" +-version = "^0.2" ++version = "^1" optional = true [dependencies.lazy_static] -version = "^0.2.2" -+version = "^1.0" ++version = "^1" optional = true [features] diff --git a/rust-nom.spec b/rust-nom.spec index f0888f0..279eff2 100644 --- a/rust-nom.spec +++ b/rust-nom.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 3.2.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Byte-oriented, zero-copy, parser combinators library License: MIT @@ -16,6 +16,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ # * Bump memchr to 2, https://github.com/Geal/nom/commit/38830cb40888ca10975e6446e133a830fe8f9604 # * compiler_error is nightly # * Bump lazy_static to 1, https://github.com/Geal/nom/pull/631 +# * Bump regex to 1, https://github.com/Geal/nom/commit/5b55b60b7e69391c8a9eed704c4aec9c197cdf8b Patch0: nom-3.2.1-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -24,7 +25,7 @@ BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(memchr) >= 2.0.0 with crate(memchr) < 3.0.0) -BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0) +BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0) %description %{summary}. @@ -63,6 +64,9 @@ rm -vf tests/mp4.rs %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Jun 14 2018 Igor Gnatenko - 3.2.1-5 +- Bump regex to 1 + * Fri Feb 09 2018 Fedora Release Engineering - 3.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild