public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kryoptic] rawhide: Allow building against quick-xml 0.41
@ 2026-07-03 18:30 Michel Lind
  0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-07-03 18:30 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-07-03 18:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-03 18:30 [rpms/kryoptic] rawhide: Allow building against quick-xml 0.41 Michel Lind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox