Do not pull optional dependencies

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 31e4348f5e
commit b1388c8c64
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,6 +1,6 @@
--- encoding_rs-0.8.16/Cargo.toml 1970-01-01T01:00:00+01:00 --- encoding_rs-0.8.17/Cargo.toml 1970-01-01T01:00:00+01:00
+++ encoding_rs-0.8.16/Cargo.toml 2019-02-10T09:03:40.658124+01:00 +++ encoding_rs-0.8.17/Cargo.toml 2019-03-10T10:18:31.791987+01:00
@@ -22,14 +22,11 @@ @@ -22,6 +22,7 @@
categories = ["text-processing", "encoding", "web-programming", "internationalization"] categories = ["text-processing", "encoding", "web-programming", "internationalization"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/hsivonen/encoding_rs" repository = "https://github.com/hsivonen/encoding_rs"
@ -8,18 +8,3 @@
[profile.release] [profile.release]
lto = true lto = true
[dependencies.cfg-if] [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"

@ -7,7 +7,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.8.17 Version: 0.8.17
Release: 1%{?dist} Release: 2%{?dist}
Summary: Gecko-oriented implementation of the Encoding Standard Summary: Gecko-oriented implementation of the Encoding Standard
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -15,7 +15,6 @@ License: MIT or ASL 2.0
URL: https://crates.io/crates/encoding_rs URL: https://crates.io/crates/encoding_rs
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * No simd
# * Drop unneeded script, https://github.com/hsivonen/encoding_rs/pull/38 # * Drop unneeded script, https://github.com/hsivonen/encoding_rs/pull/38
Patch0: encoding_rs-fix-metadata.diff Patch0: encoding_rs-fix-metadata.diff
@ -23,7 +22,6 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) 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} %if %{with check}
BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0) 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) 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 %endif
%changelog %changelog
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.17-2
- Do not pull optional dependencies
* Wed Feb 27 2019 Josh Stone <jistone@redhat.com> - 0.8.17-1 * Wed Feb 27 2019 Josh Stone <jistone@redhat.com> - 0.8.17-1
- Update to 0.8.17 - Update to 0.8.17

Loading…
Cancel
Save