spec: do not attempt to install curve_keygen if curve is disabled

This commit is contained in:
Luca Boccassi 2023-06-18 13:06:57 +01:00
parent 7fef478481
commit 61fd887d11

View File

@ -226,7 +226,9 @@ autoreconf -fi
%files -n libzmq-tools %files -n libzmq-tools
%defattr(-,root,root,-) %defattr(-,root,root,-)
%if %{with libsodium}
%{_bindir}/curve_keygen %{_bindir}/curve_keygen
%endif
%changelog %changelog
* Fri Oct 4 2019 Luca Boccassi <luca.boccassi@gmail.com> * Fri Oct 4 2019 Luca Boccassi <luca.boccassi@gmail.com>