From 2c71b7222b4d9e22124c4b07c678a55a0f61b4dd Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 7 Jan 2019 16:47:44 -0800 Subject: [PATCH] Update to 0.3.3 --- .gitignore | 1 + crypto-hash-0.3.1-fix-metadata.diff | 14 -------------- crypto-hash-fix-metadata.diff | 16 ++++++++++++++++ rust-crypto-hash.spec | 9 ++++++--- sources | 2 +- 5 files changed, 24 insertions(+), 18 deletions(-) delete mode 100644 crypto-hash-0.3.1-fix-metadata.diff create mode 100644 crypto-hash-fix-metadata.diff diff --git a/.gitignore b/.gitignore index d7da033..5f9b427 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /crypto-hash-0.3.0.crate /crypto-hash-0.3.1.crate +/crypto-hash-0.3.3.crate diff --git a/crypto-hash-0.3.1-fix-metadata.diff b/crypto-hash-0.3.1-fix-metadata.diff deleted file mode 100644 index 6e15d42..0000000 --- a/crypto-hash-0.3.1-fix-metadata.diff +++ /dev/null @@ -1,14 +0,0 @@ ---- crypto-hash-0.3.1/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ crypto-hash-0.3.1/Cargo.toml 2018-03-05T16:12:58.730134-08:00 -@@ -25,11 +25,6 @@ - version = "0.3" - [target."cfg(not(any(target_os = \"windows\", target_os = \"macos\")))".dependencies.openssl] - version = "0.10" --[target."cfg(target_os = \"macos\")".dependencies.commoncrypto] --version = "0.2" --[target."cfg(target_os = \"windows\")".dependencies.winapi] --version = "0.3" --features = ["minwindef", "wincrypt"] - [badges.appveyor] - repository = "malept/crypto-hash" - diff --git a/crypto-hash-fix-metadata.diff b/crypto-hash-fix-metadata.diff new file mode 100644 index 0000000..8921f0d --- /dev/null +++ b/crypto-hash-fix-metadata.diff @@ -0,0 +1,16 @@ +--- crypto-hash-0.3.3/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ crypto-hash-0.3.3/Cargo.toml 2019-01-07T16:39:21.850653-08:00 +@@ -23,13 +23,8 @@ + repository = "https://github.com/malept/crypto-hash" + [dependencies.hex] + version = "0.3" +-[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.commoncrypto] +-version = "0.2" + [target."cfg(not(any(target_os = \"windows\", target_os = \"macos\", target_os = \"ios\")))".dependencies.openssl] + version = "0.10" +-[target."cfg(target_os = \"windows\")".dependencies.winapi] +-version = "0.3" +-features = ["minwindef", "wincrypt"] + [badges.appveyor] + repository = "malept/crypto-hash" + diff --git a/rust-crypto-hash.spec b/rust-crypto-hash.spec index 7d72bd8..5d52118 100644 --- a/rust-crypto-hash.spec +++ b/rust-crypto-hash.spec @@ -5,8 +5,8 @@ %global crate crypto-hash Name: rust-%{crate} -Version: 0.3.1 -Release: 3%{?dist} +Version: 0.3.3 +Release: 1%{?dist} Summary: Wrapper for OS-level cryptographic hash functions License: MIT @@ -14,7 +14,7 @@ URL: https://crates.io/crates/crypto-hash Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows/osx -Patch0: crypto-hash-0.3.1-fix-metadata.diff +Patch0: crypto-hash-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -70,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Jan 08 2019 Josh Stone - 0.3.3-1 +- Update to 0.3.3 + * Tue Nov 13 2018 Josh Stone - 0.3.1-3 - Adapt to new packaging diff --git a/sources b/sources index 583de1a..6775efb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crypto-hash-0.3.1.crate) = 4c4002a08e68a03409096da5b3f3c8c4db9a23bb331c54c7f4a615ad0be64e3fdca3291f4a20b682dc4bc6d13b95950f02a306423c4cecb48664df05c46209c3 +SHA512 (crypto-hash-0.3.3.crate) = a4c48e543f45c0752c4057ffcf0d6d50f7238a0b43cc509ad8451412a46df7f45f917cf3df26a6e3aa6fa66d73eb459c43c24d23d0f5107bbe585e412bd27954