diff --git a/rust-unicode-bidi.spec b/rust-unicode-bidi.spec index 8c3cdd6..221c145 100644 --- a/rust-unicode-bidi.spec +++ b/rust-unicode-bidi.spec @@ -7,23 +7,18 @@ Name: rust-%{crate} Version: 0.3.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Implementation of the Unicode Bidirectional Algorithm # Upstream license specification: MIT / Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/unicode-bidi -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate -# Initial patched metadata -# * Flamer is nightly -Patch0: unicode-bidi-fix-metadata.diff +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(matches/default) >= 0.1.0 with crate(matches/default) < 0.2.0) -BuildRequires: (crate(serde/default) >= 0.8.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde/derive) >= 0.8.0 with crate(serde/derive) < 2.0.0) %if %{with check} BuildRequires: (crate(serde_test/default) >= 0.8.0 with crate(serde_test/default) < 2.0.0) %endif @@ -96,7 +91,7 @@ which use "with_serde" 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 @@ -112,6 +107,9 @@ which use "with_serde" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 10 2019 Igor Gnatenko - 0.3.4-8 +- Do not pull optional dependencies + * Sat Feb 02 2019 Fedora Release Engineering - 0.3.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/unicode-bidi-fix-metadata.diff b/unicode-bidi-fix-metadata.diff deleted file mode 100644 index 859b8a0..0000000 --- a/unicode-bidi-fix-metadata.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- unicode-bidi-0.3.4/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ unicode-bidi-0.3.4/Cargo.toml 2018-11-03T14:41:00.278011+01:00 -@@ -23,14 +23,6 @@ - - [lib] - name = "unicode_bidi" --[dependencies.flame] --version = "0.1" --optional = true -- --[dependencies.flamer] --version = "0.1" --optional = true -- - [dependencies.serde] - version = ">=0.8, <2.0" - features = ["derive"] -@@ -43,7 +35,6 @@ - - [features] - with_serde = ["serde"] --flame_it = ["flame", "flamer"] - unstable = [] - default = [] - bench_it = []