Fix ELN build
nbdublk bash-completion is conditional as of 1.19.4:
e817d49774
This commit is contained in:
parent
eabcd4d6b3
commit
2725836076
@ -265,13 +265,6 @@ rm $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-golang.3*
|
|||||||
rm $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-ocaml.3*
|
rm $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-ocaml.3*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Remove this section in libnbd >= 1.20, since upstream was fixed to
|
|
||||||
# not install nbdublk completion if nbdublk was not built.
|
|
||||||
%if !0%{?have_ublk}
|
|
||||||
# Delete nbdublk on RHEL.
|
|
||||||
rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nbdublk
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
function skip_test ()
|
function skip_test ()
|
||||||
|
Loading…
Reference in New Issue
Block a user