File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ export CONFDIR=%{_sysconfdir}
6060install -Dp target/rpm/libkryoptic_pkcs11.so $RPM_BUILD_ROOT /%{_libdir }/pkcs11/libkryoptic_pkcs11.so
6161rm -f $RPM_BUILD_ROOT /%{_bindir }/conformance
6262
63+ mkdir -p $RPM_BUILD_ROOT%{_datadir }/p11-kit/modules/
64+ echo "module: kryoptic_pkcs11.so" > $RPM_BUILD_ROOT%{_datadir }/p11-kit/modules/kryoptic.module
65+
6366%if %{with check }
6467%check
6568%cargo_test -f dynamic,nssdb,standard
@@ -71,6 +74,11 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/conformance
7174%doc README.md
7275%%dir %{_libdir }/pkcs11
7376%{_libdir }/pkcs11/libkryoptic_pkcs11.so
77+ # Co-owned with p11-kit so it is not hard dependency
78+ %dir %{_datadir }/p11-kit
79+ %dir %{_datadir }/p11-kit/modules
80+ %{_datadir }/p11-kit/modules/kryoptic.module
81+
7482
7583%files tools
7684%{_bindir }/softhsm_migrate
You can’t perform that action at this time.
0 commit comments