bump lazy_static to 1

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 242bfccdb0
commit 8423d49edf

@ -1,6 +1,6 @@
--- regex-0.2.3/Cargo.toml 1970-01-01T01:00:00+01:00 --- 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 +++ regex-0.2.3/Cargo.toml 2017-11-30T19:25:57.825985+01:00
@@ -67,10 +67,6 @@ @@ -67,17 +67,13 @@
[dependencies.regex-syntax] [dependencies.regex-syntax]
version = "0.4.1" version = "0.4.1"
@ -11,6 +11,14 @@
[dependencies.thread_local] [dependencies.thread_local]
version = "0.3.2" 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 @@ @@ -88,7 +84,6 @@
[features] [features]

@ -1,13 +1,13 @@
# Generated by rust2rpm # Generated by rust2rpm
# regex(dev) -> quickcheck(opt) -> env_logger(opt) -> regex # regex(dev) -> quickcheck(opt) -> env_logger(opt) -> regex
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate regex %global crate regex
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.3 Version: 0.2.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: Implementation of regular expressions for Rust Summary: Implementation of regular expressions for Rust
License: MIT or ASL 2.0 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 Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata # Initial patched metadata
# * simd is nightly # * simd is nightly
# * Bump lazy_static to 1, https://github.com/rust-lang/regex/pull/423
Patch0: regex-0.2.3-fix-metadata.diff Patch0: regex-0.2.3-fix-metadata.diff
ExclusiveArch: %{rust_arches} 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) BuildRequires: (crate(utf8-ranges) >= 1.0.0 with crate(utf8-ranges) < 2.0.0)
%if %{with check} %if %{with check}
# [dev-dependencies] # [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(quickcheck) >= 0.4.1 with crate(quickcheck) < 0.5.0)
BuildRequires: (crate(rand) >= 0.3.15 with crate(rand) < 0.4.0) BuildRequires: (crate(rand) >= 0.3.15 with crate(rand) < 0.4.0)
%endif %endif
@ -69,6 +70,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci,scripts} %exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci,scripts}
%changelog %changelog
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.3-2
- Bump lazy_static to 1
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.3-1 * Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.3-1
- Update to 0.2.3 - Update to 0.2.3

Loading…
Cancel
Save