public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cryptoki] rawhide: Update rust2rpm to use kryoptic too
@ 2026-09-16 13:31 Jakub Jelen
  0 siblings, 0 replies; only message in thread
From: Jakub Jelen @ 2026-09-16 13:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-cryptoki
Branch : rawhide
Commit : 18bee05371af7c8833c6f2eaf5fe86347a8cf846
Author : Jakub Jelen <jjelen@redhat.com>
Date   : 2026-09-16T15:26:44+02:00
Stats  : +4/-13 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cryptoki/c/18bee05371af7c8833c6f2eaf5fe86347a8cf846?branch=rawhide

Log:
Update rust2rpm to use kryoptic too

---
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 8cd36f7..876c7f4 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,18 +1,9 @@
 [requires]
-test = ["softhsm"]
+test = ["kryoptic"]
 
 [scripts]
 check.pre = [
- 'export TEST_PKCS11_MODULE=%{_libdir}/pkcs11/libsofthsm2.so',
- 'mkdir /tmp/tokens',
- 'echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf',
- 'export SOFTHSM2_CONF=/tmp/softhsm2.conf',
-]
-
-[[package.extra-patches]]
-number = 2
-file = "rust-cryptoki-fix-i386.patch"
-comments = [
- "Fix build on i686",
- "https://github.com/parallaxsecond/rust-cryptoki/pull/283"
+ 'export KRYOPTIC_CONF=/tmp/kryoptic.sql',
+ 'export TEST_PKCS11_MODULE=%{_libdir}/pkcs11/libkryoptic_pkcs11.so',
+ 'export RUST_BACKTRACE=1',
 ]

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

only message in thread, other threads:[~2026-09-16 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-16 13:31 [rpms/rust-cryptoki] rawhide: Update rust2rpm to use kryoptic too Jakub Jelen

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