public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-gix-config] epel9: Update to version 0.58.0 (rhbz#2481331)
@ 2026-07-07 18:12 blinxen
  0 siblings, 0 replies; only message in thread
From: blinxen @ 2026-07-07 18:12 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-gix-config
Branch : epel9
Commit : 7a83e91f1520a3c1388d741becea290b66adaf69
Author : blinxen <h-k-81@hotmail.com>
Date   : 2026-07-06T19:08:47+02:00
Stats  : +39/-12 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-gix-config/c/7a83e91f1520a3c1388d741becea290b66adaf69?branch=epel9

Log:
Update to version 0.58.0 (rhbz#2481331)

---
diff --git a/.gitignore b/.gitignore
index 47d2dde..85b3538 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /gix-config-0.46.0.crate
 /gix-config-0.48.0.crate
 /gix-config-0.56.0.crate
+/gix-config-0.58.0.crate

diff --git a/gix-config-fix-metadata.diff b/gix-config-fix-metadata.diff
new file mode 100644
index 0000000..86b6993
--- /dev/null
+++ b/gix-config-fix-metadata.diff
@@ -0,0 +1,16 @@
+--- gix-config-0.58.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ gix-config-0.58.0/Cargo.toml	2026-06-27T17:04:41.600196+00:00
+@@ -113,13 +113,6 @@
+ [dev-dependencies.bytesize]
+ version = "2.3.1"
+ 
+-[dev-dependencies.cap]
+-version = "0.1.2"
+-features = ["stats"]
+-
+-[dev-dependencies.criterion]
+-version = "0.8.2"
+-
+ [dev-dependencies.serial_test]
+ version = "3.4.0"
+ default-features = false

diff --git a/rust-gix-config.spec b/rust-gix-config.spec
index c050a99..acf49bc 100644
--- a/rust-gix-config.spec
+++ b/rust-gix-config.spec
@@ -5,16 +5,19 @@
 %global crate gix-config
 
 Name:           rust-gix-config
-Version:        0.56.0
+Version:        0.58.0
 Release:        %autorelease
 Summary:        Git-config file parser and editor from the gitoxide project
 
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/gix-config
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * remove unused dev-dependency (cap)
+# * drop benchmark dependency
+Patch:          gix-config-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
-BuildRequires:  tomcli
 
 %global _description %{expand:
 A git-config file parser and editor from the gitoxide project.}
@@ -84,10 +87,20 @@ use the "sha1" feature of the "%{crate}" crate.
 %files       -n %{name}+sha1-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+sha256-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+sha256-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "sha256" feature of the "%{crate}" crate.
+
+%files       -n %{name}+sha256-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %prep
 %autosetup -n %{crate}-%{version} -p1
-# Drop benchmark dependency
-tomcli-set Cargo.toml del 'dev-dependencies.criterion'
 %cargo_prep
 
 %generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 1e44d1f..e0a8b9e 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,10 +1,7 @@
-[requires]
-build = ["tomcli"]
-
-[scripts.prep]
-pre = [
-    "# Drop benchmark dependency",
-    "tomcli-set Cargo.toml del 'dev-dependencies.criterion'"
+[package]
+cargo-toml-patch-comments = [
+  "remove unused dev-dependency (cap)",
+  "drop benchmark dependency",
 ]
 
 [tests]

diff --git a/sources b/sources
index 9c2450b..d1f0dee 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gix-config-0.56.0.crate) = 101e4d11820ba54a8ebda9392f393d48143535fb3978337abafa0d107c6eef89a6c53b1070dee710a2f2d7f67da99f0ccfb69795a31a41727516efba32faa6bd
+SHA512 (gix-config-0.58.0.crate) = b3b87b4d29bbc7e394a0c26cf76a4014ddbdd75f18c06154166a42f67b59a6ce02abb0e8fb65223b315f08734832196dba48fd7c2a8f445bfb4d470c96274f43

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

only message in thread, other threads:[~2026-07-07 18:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 18:12 [rpms/rust-gix-config] epel9: Update to version 0.58.0 (rhbz#2481331) blinxen

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