public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-safetensors] rawhide: Update to version 0.8.0; Fixes RHBZ#2415928
@ 2026-07-08  5:57 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-08  5:57 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-07-08  5:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08  5:57 [rpms/rust-safetensors] rawhide: Update to version 0.8.0; Fixes RHBZ#2415928 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