Use bytes-cast 0.3.0 - drop patching

This commit is contained in:
Mads Kiilerich 2023-04-08 20:53:51 +02:00
parent 02c76a1b47
commit 473c8d53de
2 changed files with 0 additions and 17 deletions

View File

@ -1,15 +0,0 @@
Patch cargo metadata for Fedora build
Keep using old bytes-cast for now - https://www.mercurial-scm.org/repo/hg/rev/da02e88b4850 indicates that should be ok.
--- a/rust/hg-core/Cargo.toml
+++ b/rust/hg-core/Cargo.toml
@@ -10,7 +10,7 @@ name = "hg"
[dependencies]
bitflags = "1.3.2"
-bytes-cast = "0.3.0"
+bytes-cast = "0.2.0"
byteorder = "1.4.3"
derive_more = "0.99.17"
hashbrown = { version = "0.13.1", features = ["rayon"] }

View File

@ -21,8 +21,6 @@ License: GPLv2+
URL: https://mercurial-scm.org/
Source0: https://www.mercurial-scm.org/release/%{name}-%{upstreamversion}.tar.gz
Source1: mercurial-site-start.el
# Patch cargo metadata for dependency versions available in Fedora
Patch0: mercurial-rust-metadata.patch
BuildRequires: make
BuildRequires: bash-completion
BuildRequires: emacs-el