public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelen <jjelen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kryoptic] rawhide: Sync spec file with upstream to pull documentation, manual pages and more tests
Date: Fri, 05 Jun 2026 09:53:19 GMT [thread overview]
Message-ID: <178065319919.1.11421925810496040704.rpms-kryoptic-d70367573952@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-05 9:53 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=178065319919.1.11421925810496040704.rpms-kryoptic-d70367573952@fedoraproject.org \
--to=jjelen@redhat.com \
--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