From 87b6bccc5e9dfde2326c4ac265cfbb9a19690c44 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 12 Jun 2018 09:52:20 +0200 Subject: [PATCH] Bump regex to 1 Signed-off-by: Igor Gnatenko --- globset-0.4.0-fix-metadata.diff | 14 ++++++++++---- rust-globset.spec | 8 ++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/globset-0.4.0-fix-metadata.diff b/globset-0.4.0-fix-metadata.diff index 1ff29b0..6cb6bfa 100644 --- a/globset-0.4.0-fix-metadata.diff +++ b/globset-0.4.0-fix-metadata.diff @@ -1,7 +1,13 @@ --- globset-0.4.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ globset-0.4.0/Cargo.toml 2018-04-25T17:16:24.053982+02:00 -@@ -43,4 +43,3 @@ - version = "0.2" ++++ globset-0.4.0/Cargo.toml 2018-06-12T09:52:53.099432+02:00 +@@ -38,9 +38,6 @@ + version = "2" - [features] + [dependencies.regex] +-version = "0.2.9" ++version = "1" + [dev-dependencies.glob] + version = "0.2" +- +-[features] -simd-accel = ["regex/simd-accel"] diff --git a/rust-globset.spec b/rust-globset.spec index 514f8bb..69b366e 100644 --- a/rust-globset.spec +++ b/rust-globset.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Single glob and glob set matching License: Unlicense or MIT @@ -14,6 +14,7 @@ URL: https://crates.io/crates/globset Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No simd +# * Bump regex to 1 Patch0: globset-0.4.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -24,7 +25,7 @@ BuildRequires: (crate(aho-corasick) >= 0.6.0 with crate(aho-corasick) < 0.7.0) BuildRequires: (crate(fnv) >= 1.0.0 with crate(fnv) < 2.0.0) BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) BuildRequires: (crate(memchr) >= 2.0.0 with crate(memchr) < 3.0.0) -BuildRequires: (crate(regex) >= 0.2.9 with crate(regex) < 0.3.0) +BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(glob) >= 0.2.0 with crate(glob) < 0.3.0) @@ -66,6 +67,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Tue Jun 12 2018 Igor Gnatenko - 0.4.0-2 +- Bump regex to 1 + * Wed Apr 25 2018 Igor Gnatenko - 0.4.0-1 - Update to 0.4.0