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-safetensors] rawhide: Update to version 0.8.0; Fixes RHBZ#2415928
Date: Wed, 08 Jul 2026 05:57:11 GMT	[thread overview]
Message-ID: <178349023144.1.6850050178568740241.rpms-rust-safetensors-be4e2fbc82ff@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-safetensors
Branch : rawhide
Commit : be4e2fbc82ff6c742575c8d834daa8deef5010a6
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-07T12:44:46+01:00
Stats  : +18/-7 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-safetensors/c/be4e2fbc82ff6c742575c8d834daa8deef5010a6?branch=rawhide

Log:
Update to version 0.8.0; Fixes RHBZ#2415928

---
diff --git a/.gitignore b/.gitignore
index 8eab28c..7ed6a34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /safetensors-0.6.1.crate
 /safetensors-0.6.2.crate
 /safetensors-0.7.0.crate
+/safetensors-0.8.0.crate

diff --git a/rust-safetensors.spec b/rust-safetensors.spec
index b3e63eb..31a923b 100644
--- a/rust-safetensors.spec
+++ b/rust-safetensors.spec
@@ -5,13 +5,15 @@
 %global crate safetensors
 
 Name:           rust-safetensors
-Version:        0.7.0
+Version:        0.8.0
 Release:        %autorelease
 Summary:        Functions for safer PyTorch safetensors read/write operations
 
 License:        Apache-2.0
 URL:            https://crates.io/crates/safetensors
 Source:         %{crates_source}
+# Automatically generated patch to strip dependencies and normalize metadata
+Patch:          safetensors-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
 # * Patch out benchmark-only criterion dev-dependency
 Patch:          safetensors-fix-metadata.diff

diff --git a/safetensors-fix-metadata-auto.diff b/safetensors-fix-metadata-auto.diff
new file mode 100644
index 0000000..1a85922
--- /dev/null
+++ b/safetensors-fix-metadata-auto.diff
@@ -0,0 +1,8 @@
+--- safetensors-0.8.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ safetensors-0.8.0/Cargo.toml	2026-07-07T11:43:01.955002+00:00
+@@ -93,5 +93,3 @@
+ [dev-dependencies.proptest]
+ version = "1.7"
+ 
+-[target.'cfg(target_os = "macos")'.dependencies.libc]
+-version = "0.2"

diff --git a/safetensors-fix-metadata.diff b/safetensors-fix-metadata.diff
index 0655f9d..3aad9dc 100644
--- a/safetensors-fix-metadata.diff
+++ b/safetensors-fix-metadata.diff
@@ -1,8 +1,8 @@
---- safetensors-0.7.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ safetensors-0.7.0/Cargo.toml	2025-11-22T02:09:12.691036+00:00
-@@ -79,9 +79,6 @@
- features = ["alloc"]
- default-features = false
+--- safetensors-0.8.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ safetensors-0.8.0/Cargo.toml	2026-07-07T11:43:01.956196+00:00
+@@ -84,9 +84,6 @@
+ version = "3"
+ optional = true
  
 -[dev-dependencies.criterion]
 -version = "0.6"

diff --git a/sources b/sources
index 115ff72..4a6ea2a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (safetensors-0.7.0.crate) = f8d30f54b4b8be02a720c842b47e4bcd693175bea644aaf558b6958905ac5673070af2923b6e497e271c95e531c040b70e35382a5f9cd014e9bb33354010622c
+SHA512 (safetensors-0.8.0.crate) = 4858a2f01e2eab39654dd9ed4d634e1e2bd61a77323463db8ae3f66d84fb2f6103a226e29b61f75d7b8a774479d62e57dd14dbca274427755802cf2edb32e92d

                 reply	other threads:[~2026-07-08  5:57 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=178349023144.1.6850050178568740241.rpms-rust-safetensors-be4e2fbc82ff@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