@@ -330,6 +330,24 @@ Requires: %{name}-base-libs = %{version}-%{release}
330330
331331Vespa - The open big data serving engine - devel package
332332
333+ %package crypto-cli-standalone
334+
335+ Summary: Vespa - standalone crypto CLI
336+
337+ # Self-contained: the fat JAR bundles all provided-scope deps, so no Vespa install is required.
338+ # Mirrors the java requirement conditional in %package base, but pulls the headless runtime
339+ # instead of the full JDK since this is a runtime-only CLI.
340+ %if 0%{?amzn2023 }
341+ Requires: java-17-amazon-corretto-headless
342+ %else
343+ Requires: java-%{_vespa_java_version }-openjdk-headless
344+ %endif
345+
346+ %description crypto-cli-standalone
347+
348+ The vespa-crypto-cli-standalone tool for key/secret operations (e.g. core dump
349+ resealing), runnable without a full Vespa installation.
350+
333351%prep
334352%if 0%{?installdir:1 }
335353%if 0%{?source_base:1 }
507525%dir %{_prefix }
508526%{_prefix }/bin
509527%exclude %{_prefix }/bin/vespa
528+ %exclude %{_prefix }/bin/vespa-crypto-cli-standalone
510529%exclude %{_prefix }/bin/vespa-curl
511530%exclude %{_prefix }/bin/vespa-destination
512531%exclude %{_prefix }/bin/vespa-fbench
767786%{_prefix }/include
768787%{_prefix }/share/cmake
769788
789+ %files crypto-cli-standalone
790+ %if %{_defattr_is_vespa_vespa }
791+ %defattr(-,%{_vespa_user},%{_vespa_group},-)
792+ %endif
793+ %dir %{_prefix }
794+ %dir %{_prefix }/bin
795+ %{_prefix }/bin/vespa-crypto-cli-standalone
796+ %dir %{_prefix }/lib
797+ %dir %{_prefix }/lib/jars
798+ %{_prefix }/lib/jars/vespaclient-java-fat-with-provided.jar
799+
770800%changelog
0 commit comments