public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-schemars] f43: Allow validator 0.21 in dev-dependency
@ 2026-08-30 10:05 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-30 10:05 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-schemars
Branch : f43
Commit : f8c31cd7c78119e76867f5bfc939b9708c3bc683
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-08-30T09:06:31+01:00
Stats  : +10/-1 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-schemars/c/f8c31cd7c78119e76867f5bfc939b9708c3bc683?branch=f43

Log:
Allow validator 0.21 in dev-dependency

---
diff --git a/rust-schemars.spec b/rust-schemars.spec
index 3f15ea2..aececc5 100644
--- a/rust-schemars.spec
+++ b/rust-schemars.spec
@@ -16,6 +16,7 @@ Source:         %{crates_source}
 # * drop garde dev-dependency (not packaged)
 # * drop jsonschema dev-dependency (not packaged)
 # * drop integration tests, which would require jsonschema
+# * allow validator 0.21 in dev-dependency; updated upstream in 1.2.2
 Patch:          schemars-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 56940fd..7ea4e48 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -3,6 +3,7 @@ cargo-toml-patch-comments = [
     "drop garde dev-dependency (not packaged)",
     "drop jsonschema dev-dependency (not packaged)",
     "drop integration tests, which would require jsonschema",
+    "allow validator 0.21 in dev-dependency; updated upstream in 1.2.2",
 ]
 
 [scripts]

diff --git a/schemars-fix-metadata.diff b/schemars-fix-metadata.diff
index b707340..dc096cf 100644
--- a/schemars-fix-metadata.diff
+++ b/schemars-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- schemars-1.2.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ schemars-1.2.1/Cargo.toml	2026-04-15T13:04:03.860715+00:00
++++ schemars-1.2.1/Cargo.toml	2026-08-30T08:06:17.745680+00:00
 @@ -99,10 +99,6 @@
  path = "examples/validate.rs"
  
@@ -38,3 +38,10 @@
  
  [dev-dependencies.pretty_assertions]
  version = "1.2.1"
+@@ -336,5 +319,5 @@
+ package = "uuid"
+ 
+ [dev-dependencies.validator]
+-version = "0.20"
++version = ">=0.20, <0.22"
+ features = ["derive"]

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

only message in thread, other threads:[~2026-08-30 10:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 10:05 [rpms/rust-schemars] f43: Allow validator 0.21 in dev-dependency 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