From 515c34a8119a68718e5ffe5c57556ac6e9406bc9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 29 2019 08:15:23 +0000 Subject: Update to 0.7.2 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 5566c79..d77f637 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /uuid-0.6.4.crate /uuid-0.6.5.crate /uuid-0.7.1.crate +/uuid-0.7.2.crate diff --git a/rust-uuid.spec b/rust-uuid.spec index 179181f..bcb1446 100644 --- a/rust-uuid.spec +++ b/rust-uuid.spec @@ -6,18 +6,18 @@ %global crate uuid Name: rust-%{crate} -Version: 0.7.1 -Release: 3%{?dist} +Version: 0.7.2 +Release: 1%{?dist} Summary: Library to generate and parse UUIDs # Upstream license specification: Apache-2.0 OR MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/uuid -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * Drop slog dependency until packaged -# * Bump rand to 0.6 -# * Bump md5 to 0.6 +# * Drop winapi +# * Drop wasm Patch0: uuid-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -30,6 +30,7 @@ BuildRequires: (crate(serde) >= 1.0.56 with crate(serde) < 2.0.0) BuildRequires: (crate(sha1/default) >= 0.6.0 with crate(sha1/default) < 0.7.0) %if %{with check} BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0) +BuildRequires: (crate(serde_derive/default) >= 1.0.79 with crate(serde_derive/default) < 2.0.0) BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) BuildRequires: (crate(serde_test/default) >= 1.0.56 with crate(serde_test/default) < 2.0.0) %endif @@ -198,9 +199,7 @@ which use "v5" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 -# https://github.com/uuid-rs/uuid/pull/349 -chmod -x benches/*.rs +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -215,6 +214,9 @@ chmod -x benches/*.rs %endif %changelog +* Tue Jan 29 2019 Igor Gnatenko - 0.7.2-1 +- Update to 0.7.2 + * Tue Dec 11 2018 Igor Gnatenko - 0.7.1-3 - Bump rand, md5 to 0.6 diff --git a/sources b/sources index 0fc567b..092eb6b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uuid-0.7.1.crate) = 6559d538ee7a0ec8ec01f86dfc650a46aea8c7dd7c828c3e6c907c252573ec088261726eade02b89fa626b1058a6a5b3f679f507a506cc75ef838c885194453d +SHA512 (uuid-0.7.2.crate) = 86de566f35d35bf7a23f46894533dd0761f64dd868ccc21eda6bbef3b4d5d458c396efdb6f54b8502cd7705c09f4f32d87709021cacb405e531cfbf397950a67 diff --git a/uuid-fix-metadata.diff b/uuid-fix-metadata.diff index 74f1e83..d7fef02 100644 --- a/uuid-fix-metadata.diff +++ b/uuid-fix-metadata.diff @@ -1,26 +1,30 @@ ---- uuid-0.7.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ uuid-0.7.1/Cargo.toml 2018-12-11T11:50:17.034371+01:00 -@@ -33,11 +33,11 @@ - default-features = false - - [dependencies.md5] --version = "0.3" -+version = "0.6" - optional = true - - [dependencies.rand] --version = "0.5" -+version = "0.6" - optional = true - - [dependencies.serde] -@@ -49,9 +49,6 @@ +--- uuid-0.7.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ uuid-0.7.2/Cargo.toml 2019-01-29T09:14:08.332677+01:00 +@@ -49,13 +49,6 @@ version = "0.6" optional = true -[dependencies.slog] -version = "2" -optional = true +- +-[dependencies.winapi] +-version = "0.3" +-optional = true [dev-dependencies.bincode] version = "1.0" +@@ -71,13 +64,10 @@ + [features] + const_fn = ["nightly"] + default = ["std"] +-guid = ["winapi"] + nightly = [] + std = [] +-stdweb = ["rand/stdweb"] + u128 = ["byteorder"] + v1 = [] + v3 = ["md5", "rand"] + v4 = ["rand"] + v5 = ["sha1", "rand"] +-wasm-bindgen = ["rand/wasm-bindgen"]