From d5e9788a643d103b1516a4e470168910d1fc3c13 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 28 Feb 2019 09:28:44 -0800 Subject: [PATCH] Update to 1.3.0 --- .gitignore | 1 + lazy_static-fix-metadata.diff | 13 +++++-------- rust-lazy_static.spec | 14 ++++++++------ sources | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 81b13a6..97834af 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /lazy_static-1.0.2.crate /lazy_static-1.1.0.crate /lazy_static-1.2.0.crate +/lazy_static-1.3.0.crate diff --git a/lazy_static-fix-metadata.diff b/lazy_static-fix-metadata.diff index 67809f6..8bbdaea 100644 --- a/lazy_static-fix-metadata.diff +++ b/lazy_static-fix-metadata.diff @@ -1,17 +1,14 @@ ---- lazy_static-1.2.0/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ lazy_static-1.2.0/Cargo.toml 2018-11-09T18:00:25.146845-08:00 -@@ -22,15 +22,9 @@ +--- lazy_static-1.3.0/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ lazy_static-1.3.0/Cargo.toml 2019-02-28T09:25:59.738921-08:00 +@@ -22,12 +22,7 @@ categories = ["no-std", "rust-patterns", "memory-management"] license = "MIT/Apache-2.0" repository = "https://github.com/rust-lang-nursery/lazy-static.rs" -[dependencies.spin] --version = "0.4.10" --features = ["once"] +-version = "0.5.0" -optional = true --default-features = false - [features] - nightly = [] +-[features] -spin_no_std = ["spin"] [badges.appveyor] repository = "rust-lang-nursery/lazy-static.rs" diff --git a/rust-lazy_static.spec b/rust-lazy_static.spec index 1efca42..3eeb6d2 100644 --- a/rust-lazy_static.spec +++ b/rust-lazy_static.spec @@ -6,17 +6,16 @@ %global crate lazy_static Name: rust-%{crate} -Version: 1.2.0 -Release: 2%{?dist} +Version: 1.3.0 +Release: 1%{?dist} Summary: Macro for declaring lazily evaluated statics in Rust # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/lazy_static -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata -# * Exclude CI files, https://github.com/rust-lang-nursery/lazy-static.rs/pull/127 -# * Remove spin, it is not usable on stable +# * Remove spin, it is not usable on stable (FIXME: still true?) Patch0: lazy_static-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -55,7 +54,7 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -70,6 +69,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Feb 28 2019 Josh Stone - 1.3.0-1 +- Update to 1.3.0 + * Sat Feb 02 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 3e8a187..5c66470 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lazy_static-1.2.0.crate) = 0d80334da99292d68fb2ea9879540676fd45788547b7170b6df1b0a606c1645a07188837f9414196eb44ac63010a3c84fe5c4319478f6fc2cef837295a255edc +SHA512 (lazy_static-1.3.0.crate) = 08288790139876765b6d4a5988f47fd2a4bfc77c2f2406ad44e64920a471b5655c7f54cb197e5a40c29ee8b42aecbbefaac2b6f4a7dd2b5e24dd92c46cb9b822