public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-astral-tokio-tar] f44: Fix unwanted and unnecessary dependency on `/usr/bin/uv`
Date: Thu, 23 Jul 2026 05:46:46 GMT	[thread overview]
Message-ID: <178478560607.1.6550974242729606502.rpms-rust-astral-tokio-tar-826ed24acec8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-astral-tokio-tar
Branch : f44
Commit : 826ed24acec8b1446e6de76fa1d49ea5e651c835
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-23T06:41:26+01:00
Stats  : +21/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-astral-tokio-tar/c/826ed24acec8b1446e6de76fa1d49ea5e651c835?branch=f44

Log:
Fix unwanted and unnecessary dependency on `/usr/bin/uv`

---
diff --git a/astral-tokio-tar-fix-metadata.diff b/astral-tokio-tar-fix-metadata.diff
new file mode 100644
index 0000000..bf0434d
--- /dev/null
+++ b/astral-tokio-tar-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- astral-tokio-tar-0.6.4/Cargo.toml	2006-07-24T01:21:28+00:00
++++ astral-tokio-tar-0.6.4/Cargo.toml	2026-07-23T05:40:54.890307+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 5275e6b..e30d0bb 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\
+""",
+]

                 reply	other threads:[~2026-07-23  5:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178478560607.1.6550974242729606502.rpms-rust-astral-tokio-tar-826ed24acec8@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox