public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tokio-serde] rawhide: Allow to build with educe 0.8
@ 2026-11-20  7:09 Andreas Schneider
  0 siblings, 0 replies; only message in thread
From: Andreas Schneider @ 2026-11-20  7:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-tokio-serde
            Branch : rawhide
            Commit : 1be6494907266d85caaa803787192ce04a7dfafb
            Author : Andreas Schneider <asn@redhat.com>
            Date   : 2026-11-19T15:05:22+01:00
            Stats  : +7/-4 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-tokio-serde/c/1be6494907266d85caaa803787192ce04a7dfafb?branch=rawhide

            Log:
            Allow to build with educe 0.8

Also adds missing patch comment for rpm-serde 1

---
diff --git a/rust-tokio-serde.spec b/rust-tokio-serde.spec
index c2bfc6b..2cd2866 100644
--- a/rust-tokio-serde.spec
+++ b/rust-tokio-serde.spec
@@ -13,7 +13,9 @@ License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/tokio-serde
 Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
-# * Allow educe version 0.6; https://github.com/carllerche/tokio-serde/pull/37
+# * Allow educe versions up to 0.8;
+#   https://github.com/carllerche/tokio-serde/pull/37
+# * Allow rmp-serde 1, which is what Fedora ships (upstream requires 0.15)
 Patch:          tokio-serde-fix-metadata.diff
 # * Fix possible issues with educe and newer rust editions
 # * https://github.com/carllerche/tokio-serde/commit/a699aa4fa306c276644a5fe877128340a5d9b458

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 6bca713..44c495c 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,7 @@
 [package]
 cargo-toml-patch-comments = [
-    "Allow educe version 0.6; https://github.com/carllerche/tokio-serde/pull/37"
+    "Allow educe versions up to 0.8; https://github.com/carllerche/tokio-serde/pull/37",
+    "Allow rmp-serde 1, which is what Fedora ships (upstream requires 0.15)"
 ]
 
 [[package.extra-patches]]

diff --git a/tokio-serde-fix-metadata.diff b/tokio-serde-fix-metadata.diff
index 1358720..580be37 100644
--- a/tokio-serde-fix-metadata.diff
+++ b/tokio-serde-fix-metadata.diff
@@ -1,11 +1,11 @@
 --- tokio-serde-0.8.0/Cargo.toml	2020-12-24T05:41:58+00:00
-+++ tokio-serde-0.8.0/Cargo.toml	2026-01-04T09:38:47.420054+00:00
++++ tokio-serde-0.8.0/Cargo.toml	2026-11-17T13:51:17.751274+00:00
 @@ -43,7 +43,7 @@
  version = "1.0"
  
  [dependencies.educe]
 -version = "0.4"
-+version = ">=0.4, <0.7"
++version = ">=0.4, <0.9"
  optional = true
  default-features = false
  

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-20  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20  7:09 [rpms/rust-tokio-serde] rawhide: Allow to build with educe 0.8 Andreas Schneider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox