public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kryoptic] rawhide: Sync spec file with upstream to pull documentation, manual pages and more tests
@ 2026-06-05  9:53 Jakub Jelen
  0 siblings, 0 replies; only message in thread
From: Jakub Jelen @ 2026-06-05  9:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/kryoptic
Branch : rawhide
Commit : d703675739529c4e4d482f9e509e9a7b84971b0b
Author : Jakub Jelen <jjelen@redhat.com>
Date   : 2026-06-05T10:54:51+02:00
Stats  : +14/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/kryoptic/c/d703675739529c4e4d482f9e509e9a7b84971b0b?branch=rawhide

Log:
Sync spec file with upstream to pull documentation, manual pages and more tests

---
diff --git a/kryoptic.spec b/kryoptic.spec
index 2280b35..4161625 100644
--- a/kryoptic.spec
+++ b/kryoptic.spec
@@ -36,6 +36,7 @@ Source2:        https://people.redhat.com/~ssorce/simo_redhat.asc
 
 BuildRequires:  cargo-rpm-macros >= 26
 BuildRequires:  openssl-devel
+BuildRequires:  pandoc
 %if %{with gpgcheck}
 BuildRequires: gnupg2
 %endif
@@ -69,6 +70,10 @@ export CONFDIR=%{_sysconfdir}
 %{cargo_license_summary -f %{features}}
 %{cargo_license -f %{features}} > LICENSE.dependencies
 
+pandoc -s -t man doc/kryoptic.conf.man.md -o kryoptic.conf.5
+pandoc -s -t man doc/kryoptic.man.md -o kryoptic.7
+pandoc -s -t man tools/softhsm/softhsm_migrate.man.md -o softhsm_migrate.1
+
 %install
 install -Dp target/rpm/softhsm_migrate $RPM_BUILD_ROOT%{_bindir}/softhsm_migrate
 install -Dp target/rpm/%{soname}.so $RPM_BUILD_ROOT%{_libdir}/pkcs11/%{soname}.so
@@ -76,9 +81,14 @@ install -Dp target/rpm/%{soname}.so $RPM_BUILD_ROOT%{_libdir}/pkcs11/%{soname}.s
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/p11-kit/modules/
 echo "module: %{soname}.so" > $RPM_BUILD_ROOT%{_datadir}/p11-kit/modules/kryoptic.module
 
+install -Dp -m 0644 kryoptic.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5/kryoptic.conf.5
+install -Dp -m 0644 kryoptic.7 $RPM_BUILD_ROOT%{_mandir}/man7/kryoptic.7
+install -Dp -m 0644 softhsm_migrate.1 $RPM_BUILD_ROOT%{_mandir}/man1/softhsm_migrate.1
+
 %if %{with check}
 %check
-%cargo_test -f %{features}
+export TEST_PKCS11_MODULE=$RPM_BUILD_ROOT%{_libdir}/pkcs11/%{soname}.so
+%cargo_test -f %{features},integration_tests
 %endif
 
 %files
@@ -91,10 +101,13 @@ echo "module: %{soname}.so" > $RPM_BUILD_ROOT%{_datadir}/p11-kit/modules/kryopti
 %dir %{_datadir}/p11-kit
 %dir %{_datadir}/p11-kit/modules
 %{_datadir}/p11-kit/modules/kryoptic.module
+%{_mandir}/man5/kryoptic.conf.5*
+%{_mandir}/man7/kryoptic.7*
 
 
 %files tools
 %{_bindir}/softhsm_migrate
+%{_mandir}/man1/softhsm_migrate.1*
 
 %changelog
 %autochangelog

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

only message in thread, other threads:[~2026-06-05  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-05  9:53 [rpms/kryoptic] rawhide: Sync spec file with upstream to pull documentation, manual pages and more tests Jakub Jelen

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