public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-astral-tokio-tar] f43: Exclude release script from crate to avoid uv dependency
@ 2026-09-04 21:47 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-04 21:47 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-astral-tokio-tar
Branch : f43
Commit : 4d41daae4c44fb049548e910bddc79f4279615a7
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-04T22:43:06+01:00
Stats  : +21/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-astral-tokio-tar/c/4d41daae4c44fb049548e910bddc79f4279615a7?branch=f43

Log:
Exclude release script from crate to avoid uv dependency

---
diff --git a/astral-tokio-tar-fix-metadata.diff b/astral-tokio-tar-fix-metadata.diff
new file mode 100644
index 0000000..504b414
--- /dev/null
+++ b/astral-tokio-tar-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- astral-tokio-tar-0.7.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ astral-tokio-tar-0.7.0/Cargo.toml	2026-09-04T21:42:35.943807+00:00
+@@ -42,6 +42,7 @@
+ ]
+ license = "MIT OR Apache-2.0"
+ repository = "https://github.com/astral-sh/tokio-tar"
++exclude = ["/scripts/"]
+ 
+ [features]
+ default = ["xattr"]

diff --git a/rust-astral-tokio-tar.spec b/rust-astral-tokio-tar.spec
index 5aec976..76518a4 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
+# * Exclude release script from published crate:
+#   https://github.com/astral-sh/tokio-tar/pull/106
+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..f74af07
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,7 @@
+[package]
+cargo-toml-patch-comments = [
+    """\
+Exclude release script from published crate: \
+https://github.com/astral-sh/tokio-tar/pull/106\
+""",
+]

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

only message in thread, other threads:[~2026-09-04 21:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 21:47 [rpms/rust-astral-tokio-tar] f43: Exclude release script from crate to avoid uv dependency 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