public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-nettle-sys] rawhide: Build with nettle v3 until the Rust bindings support v4
@ 2026-07-31 12:51 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-31 12:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-nettle-sys
Branch : rawhide
Commit : 3f151d1449b18df85950b85c3a6b4e9be9fdff08
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-07-31T14:51:19+02:00
Stats  : +4/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-nettle-sys/c/3f151d1449b18df85950b85c3a6b4e9be9fdff08?branch=rawhide

Log:
Build with nettle v3 until the Rust bindings support v4

---
diff --git a/rust-nettle-sys.spec b/rust-nettle-sys.spec
index e0856f9..f012d73 100644
--- a/rust-nettle-sys.spec
+++ b/rust-nettle-sys.spec
@@ -20,7 +20,7 @@ Patch:          nettle-sys-fix-metadata-auto.diff
 Patch2:         0001-build-drop-unavailable-ECC-functions.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
-BuildRequires:  pkgconfig(nettle)
+BuildRequires:  pkgconfig(nettle) < 4.0
 
 %global _description %{expand:
 Low-level Rust bindings for the Nettle cryptographic library.}
@@ -30,7 +30,7 @@ Low-level Rust bindings for the Nettle cryptographic library.}
 %package        devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       pkgconfig(nettle)
+Requires:       pkgconfig(nettle) < 4.0
 
 %description    devel %{_description}
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index b523c25..47cc94d 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -10,6 +10,6 @@ comments = [
 ]
 
 [requires]
-build = ["pkgconfig(nettle)"]
-lib = ["pkgconfig(nettle)"]
+build = ["pkgconfig(nettle) < 4.0"]
+lib = ["pkgconfig(nettle) < 4.0"]
 

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

only message in thread, other threads:[~2026-07-31 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 12:51 [rpms/rust-nettle-sys] rawhide: Build with nettle v3 until the Rust bindings support v4 Fabio Valentini

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