remove krun manpage if krun not supported

This commit is contained in:
Lokesh Mandvekar 2023-09-26 13:55:18 -04:00
parent 8de06754f3
commit 612a96918e
No known key found for this signature in database
GPG Key ID: 1C1EDD7CC7C3A0DD

View File

@ -117,6 +117,8 @@ rm -rf %{buildroot}%{_prefix}/lib*
%if %{defined krun_support}
ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/krun
%else
rm -f %{buildroot}%{_mandir}/man1/krun.1
%endif
%if %{defined wasm_support}