public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/kryoptic] rawhide: Allow building against quick-xml 0.41
Date: Fri, 03 Jul 2026 18:30:05 GMT	[thread overview]
Message-ID: <178310340542.1.15024072805142008154.rpms-kryoptic-8b3ba66604a7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/kryoptic
            Branch : rawhide
            Commit : 8b3ba66604a7bbae4c5c4e38384edfad50416bff
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-07-03T16:53:27+01:00
            Stats  : +17/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/kryoptic/c/8b3ba66604a7bbae4c5c4e38384edfad50416bff?branch=rawhide

            Log:
            Allow building against quick-xml 0.41

Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/kryoptic-fix-metadata.diff b/kryoptic-fix-metadata.diff
new file mode 100644
index 0000000..d04af88
--- /dev/null
+++ b/kryoptic-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- a/tools/Cargo.toml
++++ b/tools/Cargo.toml
+@@ -34,7 +34,7 @@ hex = "0.4.3"
+ libc = "0.2.151"
+ serde = { version = "1.0.180", features = ["derive"] }
+ serde_json = "1.0.104"
+-quick-xml = { version = "0.40", features = ["serialize"], optional = true }
++quick-xml = { version = ">=0.40,<0.42", features = ["serialize"], optional = true }
+ 
+ [features]
+ default = ["kryoptic-lib/default"]

diff --git a/kryoptic.spec b/kryoptic.spec
index 4d2294a..2e8e341 100644
--- a/kryoptic.spec
+++ b/kryoptic.spec
@@ -33,6 +33,9 @@ Source0:        https://github.com/latchset/kryoptic/releases/download/v%{versio
 Source1:        https://github.com/latchset/kryoptic/releases/download/v%{version}/%{name}-%{version}.tar.gz.asc
 Source2:        https://people.redhat.com/~ssorce/simo_redhat.asc
 %endif
+# Manually created patch for downstream crate metadata changes
+# * relax quick-xml dependency to allow 0.41
+Patch:          kryoptic-fix-metadata.diff
 
 
 BuildRequires:  cargo-rpm-macros >= 26

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 2e8dddb..b0156e1 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,9 @@
 [package]
 cargo-install-lib = true
 cargo-install-bin = true
+cargo-toml-patch-comments = [
+  "relax quick-xml dependency to allow 0.41"
+]
 
 [features]
 enable = ["nssdb", "pqc"]

                 reply	other threads:[~2026-07-03 18:30 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=178310340542.1.15024072805142008154.rpms-kryoptic-8b3ba66604a7@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --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