From 97c661a98eb9fd3cf2133a029e253e5da5ef7618 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 30 Nov 2017 23:42:35 +0100 Subject: [PATCH] bump lazy_static to 1 Signed-off-by: Igor Gnatenko --- fd-find-6.0.0-fix-metadata.diff | 11 +++++++++-- rust-fd-find.spec | 8 ++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/fd-find-6.0.0-fix-metadata.diff b/fd-find-6.0.0-fix-metadata.diff index 10cae72..f1e46a3 100644 --- a/fd-find-6.0.0-fix-metadata.diff +++ b/fd-find-6.0.0-fix-metadata.diff @@ -1,5 +1,5 @@ --- fd-find-6.0.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ fd-find-6.0.0/Cargo.toml 2017-11-20T18:15:46.510274+01:00 ++++ fd-find-6.0.0/Cargo.toml 2017-11-30T23:43:28.471915+01:00 @@ -28,7 +28,7 @@ name = "fd" path = "src/main.rs" @@ -9,7 +9,14 @@ [dependencies.regex] version = "0.2" -@@ -43,7 +43,7 @@ +@@ -37,13 +37,13 @@ + version = "0.4" + + [dependencies.lazy_static] +-version = "0.2.9" ++version = "1" + + [dependencies.num_cpus] version = "1.6.2" [dependencies.ignore] diff --git a/rust-fd-find.spec b/rust-fd-find.spec index 65b28d9..f683ea1 100644 --- a/rust-fd-find.spec +++ b/rust-fd-find.spec @@ -5,7 +5,7 @@ Name: rust-%{crate} Version: 6.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Simple, fast and user-friendly alternative to find License: MIT or ASL 2.0 @@ -13,6 +13,7 @@ URL: https://crates.io/crates/fd-find Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * Bump ansi_term to 0.10, ignore to 0.3: https://github.com/sharkdp/fd/pull/173 +# * Bump lazy_static to 1, https://github.com/sharkdp/fd/pull/184 Patch0: fd-find-6.0.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -23,7 +24,7 @@ BuildRequires: (crate(ansi_term) >= 0.10.0 with crate(ansi_term) < 0.11.0) BuildRequires: (crate(atty) >= 0.2.0 with crate(atty) < 0.3.0) BuildRequires: (crate(clap) >= 2.26.0 with crate(clap) < 3.0.0) BuildRequires: (crate(ignore) >= 0.3.0 with crate(ignore) < 0.4.0) -BuildRequires: (crate(lazy_static) >= 0.2.9 with crate(lazy_static) < 0.3.0) +BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) BuildRequires: (crate(num_cpus) >= 1.6.2 with crate(num_cpus) < 2.0.0) BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0) @@ -84,6 +85,9 @@ Summary: %{summary} %{_datadir}/zsh/site-functions/_fd %changelog +* Thu Nov 30 2017 Igor Gnatenko - 6.0.0-5 +- Bump lazy_static to 1 + * Tue Nov 28 2017 Igor Gnatenko - 6.0.0-4 - Rebuild for clap 2.28.0