diff --git a/.gitignore b/.gitignore index c3607dd..a7f593b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /strsim-0.6.0.crate /strsim-0.7.0.crate /strsim-0.8.0.crate +/strsim-0.9.0.crate diff --git a/rust-strsim.spec b/rust-strsim.spec index fa08814..310acb0 100644 --- a/rust-strsim.spec +++ b/rust-strsim.spec @@ -6,16 +6,13 @@ %global crate strsim Name: rust-%{crate} -Version: 0.8.0 -Release: 4%{?dist} +Version: 0.9.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 +Source: %{crates_source} ExclusiveArch: %{rust_arches} @@ -55,7 +52,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 +67,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Apr 07 07:31:57 CEST 2019 Igor Gnatenko - 0.9.0-1 +- Update to 0.9.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 5b4fa75..096b63a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (strsim-0.8.0.crate) = 1d55a8d946cd55f5f37d06aea536549ded95739fa58c0f2da285a0041154c181f663682bdcac643aa198b3e762d694a04f058db985c62ebe22b5c16327ba6d34 +SHA512 (strsim-0.9.0.crate) = 89406873f4ed1d5bc25c897ca91c8e37922ab6ab8d7482a7ddb0505c8398a4e2c2a8763f1aade258f41066c4b3f3bd99f5ae58b81f8dd615ed251355cc4f2562 diff --git a/strsim-fix-metadata.diff b/strsim-fix-metadata.diff deleted file mode 100644 index 40553f4..0000000 --- a/strsim-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- strsim-0.8.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ strsim-0.8.0/Cargo.toml 2018-10-27T12:16:39.894052+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" -