public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-keyvalues-parser] rawhide: Update to 0.2.4 (fedora#2397549).
@ 2026-06-07 16:06 Jonathan Steffan
0 siblings, 0 replies; only message in thread
From: Jonathan Steffan @ 2026-06-07 16:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-keyvalues-parser
Branch : rawhide
Commit : 7bdbbeaa026f14e78ecf029b1b3870d4699000fe
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date : 2026-06-07T10:06:00-06:00
Stats : +32/-22 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-keyvalues-parser/c/7bdbbeaa026f14e78ecf029b1b3870d4699000fe?branch=rawhide
Log:
Update to 0.2.4 (fedora#2397549).
---
diff --git a/.gitignore b/.gitignore
index 2723c45..f520df6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/keyvalues-parser-0.2.0.crate
+/keyvalues-parser-0.2.4.crate
diff --git a/keyvalues-parser-fix-metadata.diff b/keyvalues-parser-fix-metadata.diff
index 817bbae..53df671 100644
--- a/keyvalues-parser-fix-metadata.diff
+++ b/keyvalues-parser-fix-metadata.diff
@@ -1,13 +1,13 @@
---- keyvalues-parser-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ keyvalues-parser-0.2.0/Cargo.toml 2024-11-03T15:52:50.381075+00:00
-@@ -41,10 +41,6 @@
- [dependencies.thiserror]
- version = "1.0.50"
+--- keyvalues-parser-0.2.4/Cargo.toml 2006-07-24T01:21:28+00:00
++++ keyvalues-parser-0.2.4/Cargo.toml 2026-06-07T15:34:56.892622+00:00
+@@ -68,10 +68,6 @@
+ version = "1.0.226"
+ optional = true
--[dev-dependencies.criterion]
--version = "0.5.1"
+-[dev-dependencies.divan]
+-version = "0.1.14"
-default-features = false
-
[dev-dependencies.insta]
- version = "1.34.0"
+ version = "1.39.0"
diff --git a/rust-keyvalues-parser.spec b/rust-keyvalues-parser.spec
index 9cadf2d..9f302b9 100644
--- a/rust-keyvalues-parser.spec
+++ b/rust-keyvalues-parser.spec
@@ -1,21 +1,19 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate keyvalues-parser
Name: rust-keyvalues-parser
-Version: 0.2.0
+Version: 0.2.4
Release: %autorelease
Summary: Parser/renderer for vdf text
License: MIT OR Apache-2.0
URL: https://crates.io/crates/keyvalues-parser
Source: %{crates_source}
-# https://github.com/CosmicHorrorDev/vdf-rs/issues/74
-Source100: https://raw.githubusercontent.com/CosmicHorrorDev/vdf-rs/refs/heads/main/LICENSE-MIT
-Source101: https://raw.githubusercontent.com/CosmicHorrorDev/vdf-rs/refs/heads/main/LICENSE-APACHE
# Manually created patch for downstream crate metadata changes
+# * drop unused, benchmark-only divan dev-dependency
Patch: keyvalues-parser-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -35,8 +33,9 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
@@ -52,11 +51,21 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
-#Copy LICENSE files
-cp -pav %{SOURCE100} %{SOURCE101} .
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 5befa6b..16247e6 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,5 @@
-[scripts.prep]
-post = [
- "#Copy LICENSE files",
- "cp -pav %{SOURCE100} %{SOURCE101} .",
+[package]
+cargo-toml-patch-comments = [
+ "drop unused, benchmark-only divan dev-dependency",
]
+
diff --git a/sources b/sources
index 2dfc3a4..c4bcd98 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (keyvalues-parser-0.2.0.crate) = 8fea4d56f0d2f1a2f5c535d342cee63037fa13fe47000b5901250ecb9a246d78bea07aea30aa072ed22378a77db7a97db174082c663a7f668d1425bb8ff95595
+SHA512 (keyvalues-parser-0.2.4.crate) = 37143358aaf4b60ed145c5719bfbec562f6b7b26c49b6bb3132ee4085ecfd7205d2088a6ae4f07aa46869cc358a3437b664b3a4d4daecc54e9940695d4205575
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-07 16:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-07 16:06 [rpms/rust-keyvalues-parser] rawhide: Update to 0.2.4 (fedora#2397549) Jonathan Steffan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox