From fb9d90de480891d033f5032394346b90df63909b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 7 Oct 2018 09:41:52 +0200 Subject: [PATCH] Update to 0.8.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-strsim.spec | 11 ++++++++--- sources | 2 +- strsim-fix-metadata.diff | 10 ++++++++++ 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 strsim-fix-metadata.diff diff --git a/.gitignore b/.gitignore index a65c6d5..c3607dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /strsim-0.6.0.crate /strsim-0.7.0.crate +/strsim-0.8.0.crate diff --git a/rust-strsim.spec b/rust-strsim.spec index 59a7bb0..19205c7 100644 --- a/rust-strsim.spec +++ b/rust-strsim.spec @@ -5,13 +5,16 @@ %global crate strsim Name: rust-%{crate} -Version: 0.7.0 -Release: 3%{?dist} +Version: 0.8.0 +Release: 1%{?dist} Summary: Implementations of string similarity metrics License: MIT URL: https://crates.io/crates/strsim Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Exclude unneeded files, https://github.com/dguo/strsim-rs/pull/22 +Patch0: strsim-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -50,9 +53,11 @@ which use %{crate} from crates.io. %license LICENSE %doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version}/ -%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,dev} %changelog +* Sun Oct 07 2018 Igor Gnatenko - 0.8.0-1 +- Update to 0.8.0 + * Sat Jul 14 2018 Fedora Release Engineering - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index c1c6e50..5b4fa75 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (strsim-0.7.0.crate) = 3f92df0f444129b16fbb15c533b7bc1d6f18970b487b57345f74747fb7f41e3dc0cb61255712e94d419a5777b8f6a9cdf1a716718698c479eb98dfb6464d1983 +SHA512 (strsim-0.8.0.crate) = 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34 diff --git a/strsim-fix-metadata.diff b/strsim-fix-metadata.diff new file mode 100644 index 0000000..d47f45c --- /dev/null +++ b/strsim-fix-metadata.diff @@ -0,0 +1,10 @@ +--- strsim-0.8.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ strsim-0.8.0/Cargo.toml 2018-10-07T09:42:15.866928+02:00 +@@ -21,6 +21,7 @@ + keywords = ["string", "similarity", "Hamming", "Levenshtein", "Jaro"] + license = "MIT" + repository = "https://github.com/dguo/strsim-rs" ++exclude = ["/.travis.yml", "/appveyor.yml", "/dev"] + [badges.appveyor] + repository = "dguo/strsim-rs" +