diff --git a/encoding_rs-fix-metadata.diff b/encoding_rs-fix-metadata.diff index 7da415d..33537e4 100644 --- a/encoding_rs-fix-metadata.diff +++ b/encoding_rs-fix-metadata.diff @@ -1,6 +1,6 @@ ---- encoding_rs-0.8.16/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ encoding_rs-0.8.16/Cargo.toml 2019-02-10T09:03:40.658124+01:00 -@@ -22,14 +22,11 @@ +--- encoding_rs-0.8.17/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ encoding_rs-0.8.17/Cargo.toml 2019-03-10T10:18:31.791987+01:00 +@@ -22,6 +22,7 @@ categories = ["text-processing", "encoding", "web-programming", "internationalization"] license = "MIT/Apache-2.0" repository = "https://github.com/hsivonen/encoding_rs" @@ -8,18 +8,3 @@ [profile.release] lto = true [dependencies.cfg-if] - version = "0.1.0" -- --[dependencies.packed_simd] --version = "0.3.3" --optional = true - - [dependencies.serde] - version = "1.0" -@@ -53,6 +50,5 @@ - less-slow-big5-hanzi-encode = [] - less-slow-gb-hanzi-encode = [] - less-slow-kanji-encode = [] --simd-accel = ["packed_simd", "packed_simd/into_bits"] - [badges.travis-ci] - repository = "hsivonen/encoding_rs" diff --git a/rust-encoding_rs.spec b/rust-encoding_rs.spec index fe472e4..0257d13 100644 --- a/rust-encoding_rs.spec +++ b/rust-encoding_rs.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 0.8.17 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Gecko-oriented implementation of the Encoding Standard # Upstream license specification: MIT/Apache-2.0 @@ -15,7 +15,6 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/encoding_rs Source: %{crates_source} # Initial patched metadata -# * No simd # * Drop unneeded script, https://github.com/hsivonen/encoding_rs/pull/38 Patch0: encoding_rs-fix-metadata.diff @@ -23,7 +22,6 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.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.0 with crate(serde_derive/default) < 2.0.0) @@ -197,6 +195,9 @@ which use "serde" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 10 2019 Igor Gnatenko - 0.8.17-2 +- Do not pull optional dependencies + * Wed Feb 27 2019 Josh Stone - 0.8.17-1 - Update to 0.8.17