diff --git a/bincode-fix-metadata.diff b/bincode-fix-metadata.diff new file mode 100644 index 0000000..79bf567 --- /dev/null +++ b/bincode-fix-metadata.diff @@ -0,0 +1,11 @@ +--- bincode-1.3.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ bincode-1.3.2/Cargo.toml 2021-03-26T10:15:07.761857+00:00 +@@ -24,7 +24,7 @@ + license = "MIT" + repository = "https://github.com/servo/bincode" + [dependencies.byteorder] +-version = ">=1.3.0, < 1.4.0" ++version = "1.3.0" + + [dependencies.serde] + version = "1.0.63" diff --git a/rust-bincode.spec b/rust-bincode.spec index 05f4f72..6c33ea0 100644 --- a/rust-bincode.spec +++ b/rust-bincode.spec @@ -6,13 +6,16 @@ Name: rust-%{crate} Version: 1.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Binary serialization / deserialization strategy that uses Serde # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/bincode Source: %{crates_source} +# Initial patched metadata +# * relax byteorder dependency (MSRV 1.18 is really old for Fedora) +Patch0: bincode-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -84,6 +87,9 @@ which use "i128" feature of "%{crate}" crate. %endif %changelog +* Fri Mar 26 2021 Fabio Valentini - 1.3.2-2 +- Relax byteorder dependency. + * Sat Feb 27 2021 Fabio Valentini - 1.3.2-1 - Update to version 1.3.2. - Fixes RHBZ#1932248