From 8423d49edfd4c23f55650b7e6c943f917a40058e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Nov 30 2017 18:26:45 +0000 Subject: bump lazy_static to 1 Signed-off-by: Igor Gnatenko --- diff --git a/regex-0.2.3-fix-metadata.diff b/regex-0.2.3-fix-metadata.diff index 25f622a..2566431 100644 --- a/regex-0.2.3-fix-metadata.diff +++ b/regex-0.2.3-fix-metadata.diff @@ -1,6 +1,6 @@ --- regex-0.2.3/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ regex-0.2.3/Cargo.toml 2017-11-30T17:30:02.691741+01:00 -@@ -67,10 +67,6 @@ ++++ regex-0.2.3/Cargo.toml 2017-11-30T19:25:57.825985+01:00 +@@ -67,17 +67,13 @@ [dependencies.regex-syntax] version = "0.4.1" @@ -11,6 +11,14 @@ [dependencies.thread_local] version = "0.3.2" + [dependencies.utf8-ranges] + version = "1.0.0" + [dev-dependencies.lazy_static] +-version = "0.2.2" ++version = "1" + + [dev-dependencies.quickcheck] + version = "0.4.1" @@ -88,7 +84,6 @@ [features] diff --git a/rust-regex.spec b/rust-regex.spec index 36a8fe0..93c442c 100644 --- a/rust-regex.spec +++ b/rust-regex.spec @@ -1,13 +1,13 @@ # Generated by rust2rpm # regex(dev) -> quickcheck(opt) -> env_logger(opt) -> regex -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate regex Name: rust-%{crate} Version: 0.2.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Implementation of regular expressions for Rust License: MIT or ASL 2.0 @@ -15,6 +15,7 @@ URL: https://crates.io/crates/regex Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * simd is nightly +# * Bump lazy_static to 1, https://github.com/rust-lang/regex/pull/423 Patch0: regex-0.2.3-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -28,7 +29,7 @@ BuildRequires: (crate(thread_local) >= 0.3.2 with crate(thread_local) < 0.4.0) BuildRequires: (crate(utf8-ranges) >= 1.0.0 with crate(utf8-ranges) < 2.0.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(lazy_static) >= 0.2.2 with crate(lazy_static) < 0.3.0) +BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(quickcheck) >= 0.4.1 with crate(quickcheck) < 0.5.0) BuildRequires: (crate(rand) >= 0.3.15 with crate(rand) < 0.4.0) %endif @@ -69,6 +70,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci,scripts} %changelog +* Thu Nov 30 2017 Igor Gnatenko - 0.2.3-2 +- Bump lazy_static to 1 + * Thu Nov 30 2017 Igor Gnatenko - 0.2.3-1 - Update to 0.2.3