From 8cb0069b0174d7fb6ab62c8bf75338442b943cc3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 20 Nov 2018 19:54:22 +0100 Subject: [PATCH] Update to 0.7.1 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-uuid.spec | 24 ++++++++---------------- sources | 2 +- uuid-fix-metadata.diff | 10 +++++----- 4 files changed, 15 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 6b1bb8b..5566c79 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /uuid-0.6.3.crate /uuid-0.6.4.crate /uuid-0.6.5.crate +/uuid-0.7.1.crate diff --git a/rust-uuid.spec b/rust-uuid.spec index 81e0e14..1f89ef7 100644 --- a/rust-uuid.spec +++ b/rust-uuid.spec @@ -5,8 +5,8 @@ %global crate uuid Name: rust-%{crate} -Version: 0.6.5 -Release: 3%{?dist} +Version: 0.7.1 +Release: 1%{?dist} Summary: Library to generate and parse UUIDs # Upstream license specification: Apache-2.0 OR MIT @@ -21,12 +21,13 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(byteorder/i128) >= 1.0.0 with crate(byteorder/i128) < 2.0.0) -BuildRequires: (crate(cfg-if/default) >= 0.1.2 with crate(cfg-if/default) < 0.2.0) BuildRequires: (crate(md5/default) >= 0.3.0 with crate(md5/default) < 0.4.0) -BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0) +BuildRequires: (crate(rand/default) >= 0.5.0 with crate(rand/default) < 0.6.0) 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_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 @@ -169,18 +170,6 @@ which use "u128" feature of "%{crate}" crate. %files -n %{name}+u128-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml -%package -n %{name}+use_std-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+use_std-devel %{_description} - -This package contains library source intended for building other packages -which use "use_std" feature of "%{crate}" crate. - -%files -n %{name}+use_std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - %package -n %{name}+v1-devel Summary: %{summary} BuildArch: noarch @@ -245,6 +234,9 @@ which use "v5" feature of "%{crate}" crate. %endif %changelog +* Tue Nov 20 2018 Igor Gnatenko - 0.7.1-1 +- Update to 0.7.1 + * Fri Nov 02 2018 Igor Gnatenko - 0.6.5-3 - Adapt to new packaging diff --git a/sources b/sources index cddaec1..0fc567b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uuid-0.6.5.crate) = e69530284377ded546f9face98af6fe312664a152fa6a8aefaa4030b978e098ba55ff8ab8fcd2d54abf344e9d45a8f2188c4d7d4092baa213c11f74491f79d80 +SHA512 (uuid-0.7.1.crate) = 6559d538ee7a0ec8ec01f86dfc650a46aea8c7dd7c828c3e6c907c252573ec088261726eade02b89fa626b1058a6a5b3f679f507a506cc75ef838c885194453d diff --git a/uuid-fix-metadata.diff b/uuid-fix-metadata.diff index 09be269..237aeee 100644 --- a/uuid-fix-metadata.diff +++ b/uuid-fix-metadata.diff @@ -1,12 +1,12 @@ ---- uuid-0.6.5/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ uuid-0.6.5/Cargo.toml 2018-11-02T20:13:19.432027+01:00 -@@ -52,9 +52,6 @@ +--- uuid-0.7.1/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ uuid-0.7.1/Cargo.toml 2018-11-20T19:52:33.354300+01:00 +@@ -49,9 +49,6 @@ version = "0.6" optional = true -[dependencies.slog] -version = "2" -optional = true - [dev-dependencies.serde_test] - version = "1.0.56" + [dev-dependencies.bincode] + version = "1.0"