public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-schemars] f45: Allow validator 0.21 in dev-dependency
Date: Sun, 30 Aug 2026 10:04:56 GMT	[thread overview]
Message-ID: <178808429662.1.6731567570264747675.rpms-rust-schemars-f8c31cd7c781@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-schemars
Branch : f45
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=f45

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"]

                 reply	other threads:[~2026-08-30 10:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178808429662.1.6731567570264747675.rpms-rust-schemars-f8c31cd7c781@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox