public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-astral-tokio-tar] rawhide: Patch for rustix 1.0
@ 2026-06-26  6:02 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-26  6:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-astral-tokio-tar
Branch : rawhide
Commit : 6cec242033bd045def5b1ae734e0359824b301ac
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-26T06:58:02+01:00
Stats  : +22/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-astral-tokio-tar/c/6cec242033bd045def5b1ae734e0359824b301ac?branch=rawhide

Log:
Patch for rustix 1.0

---
diff --git a/astral-tokio-tar-fix-metadata.diff b/astral-tokio-tar-fix-metadata.diff
new file mode 100644
index 0000000..41edda2
--- /dev/null
+++ b/astral-tokio-tar-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- astral-tokio-tar-0.6.3/Cargo.toml	2006-07-24T01:21:28+00:00
++++ astral-tokio-tar-0.6.3/Cargo.toml	2026-06-26T05:57:47.292097+00:00
+@@ -105,7 +105,7 @@
+ version = "0.2"
+ 
+ [target."cfg(unix)".dependencies.rustix]
+-version = "0.38"
++version = "1.0"
+ features = ["fs"]
+ 
+ [target."cfg(unix)".dependencies.xattr]

diff --git a/rust-astral-tokio-tar.spec b/rust-astral-tokio-tar.spec
index 43a59ac..a484f2f 100644
--- a/rust-astral-tokio-tar.spec
+++ b/rust-astral-tokio-tar.spec
@@ -12,6 +12,10 @@ Summary:        Rust implementation of an async TAR file reader and writer
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/astral-tokio-tar
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * Update rustix dependency from 0.38 to 1.0:
+#   https://github.com/astral-sh/tokio-tar/pull/97
+Patch:          astral-tokio-tar-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..d3105c8
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,7 @@
+[package]
+cargo-toml-patch-comments = [
+    """\
+Update rustix dependency from 0.38 to 1.0: \
+https://github.com/astral-sh/tokio-tar/pull/97\
+""",
+]

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

only message in thread, other threads:[~2026-06-26  6:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26  6:02 [rpms/rust-astral-tokio-tar] rawhide: Patch for rustix 1.0 Benjamin A. Beasley

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