public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-krates] f43: Update to version 0.21.2; Fixes RHBZ#2453805
@ 2026-07-01 10:57 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-01 10:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-krates
Branch : f43
Commit : 311a9d641a201c681c8cf9a5521ac2027b4db53d
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-29T11:04:39+01:00
Stats : +31/-41 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-krates/c/311a9d641a201c681c8cf9a5521ac2027b4db53d?branch=f43
Log:
Update to version 0.21.2; Fixes RHBZ#2453805
---
diff --git a/.gitignore b/.gitignore
index 9bf35d9..02c07ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/krates-0.17.5.crate
/krates-0.18.1.crate
/krates-0.20.0.crate
+/krates-0.21.2.crate
diff --git a/krates-fix-metadata.diff b/krates-fix-metadata.diff
index 227cdfc..f08f5de 100644
--- a/krates-fix-metadata.diff
+++ b/krates-fix-metadata.diff
@@ -1,28 +1,22 @@
---- krates-0.20.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ krates-0.20.0/Cargo.toml 2025-12-11T13:16:38.214868+00:00
-@@ -93,21 +93,15 @@
- version = "4.5"
- features = ["derive"]
+--- krates-0.21.2/Cargo.toml 2006-07-24T01:21:28+00:00
++++ krates-0.21.2/Cargo.toml 2026-06-29T10:04:23.548028+00:00
+@@ -58,7 +58,7 @@
+ version = "0.20"
--[dev-dependencies.insta]
--version = "1.40"
--features = ["json"]
--
+ [dependencies.petgraph]
+-version = "=0.8.1"
++version = "0.8.1"
+ default-features = false
+
+ [dependencies.semver]
+@@ -71,7 +71,9 @@
+ [dependencies.serde_json]
+ version = "1.0"
+
+-[dev-dependencies]
+[dev-dependencies.serde]
+version = "1.0"
+features = ["derive"]
-+
- [dev-dependencies.serde_json]
- version = "1.0"
-
- [dev-dependencies.similar-asserts]
- version = "1.6"
--[dev-dependencies.tame-index]
--version = "0.21"
--
--[profile.dev.package.insta]
--opt-level = 3
--
- [profile.dev.package.similar]
+ [profile.dev.package.insta]
opt-level = 3
diff --git a/rust-krates.spec b/rust-krates.spec
index 72b26ca..496f936 100644
--- a/rust-krates.spec
+++ b/rust-krates.spec
@@ -5,7 +5,7 @@
%global crate krates
Name: rust-krates
-Version: 0.20.0
+Version: 0.21.2
Release: %autorelease
Summary: Create graphs of crates gathered from cargo metadata
@@ -13,8 +13,10 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/krates
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * add missing dev-dependency on serde/derive
-# * drop unused dev-dependencies (integration tests are not shipped)
+# * Unpin petgraph:
+# https://github.com/EmbarkStudios/krates/pull/107#issuecomment-4829415963
+# * Add direct dev-dependency on serde/derive:
+# https://github.com/EmbarkStudios/krates/pull/113
Patch: krates-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -54,18 +56,6 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+metadata-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+metadata-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "metadata" feature of the "%{crate}" crate.
-
-%files -n %{name}+metadata-devel
-%ghost %{crate_instdir}/Cargo.toml
-
%package -n %{name}+serialize-devel
Summary: %{summary}
BuildArch: noarch
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 0268159..45352cd 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,11 @@
[package]
cargo-toml-patch-comments = [
- "add missing dev-dependency on serde/derive",
- "drop unused dev-dependencies (integration tests are not shipped)",
+ """\
+Unpin petgraph: \
+https://github.com/EmbarkStudios/krates/pull/107#issuecomment-4829415963\
+""",
+ """\
+Add direct dev-dependency on serde/derive: \
+https://github.com/EmbarkStudios/krates/pull/113\
+""",
]
-
diff --git a/sources b/sources
index 3d1ab06..1107596 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (krates-0.20.0.crate) = 790962634b3e33962b6006f84a0307fdfffb9f6698e939d3bd1e4852531fceabadf5f3d028a14cd061d5e245b666b86dbbc89498f575ecbb7d4dc256b707e440
+SHA512 (krates-0.21.2.crate) = 9addc0932b27bc356e51678670d2fba71ade78723bd0f4dc9df91bcae6d27e6cd37671154cba6a07d5af6f6a7e8dc58813dc7fb5d7f96a0a3074402e69204e0c
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-01 10:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01 10:57 [rpms/rust-krates] f43: Update to version 0.21.2; Fixes RHBZ#2453805 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