Delete the OCaml man page on i686
We are not building the OCaml subpackage on i686, but the man page is built anyway. Fixes: error: Installed (but unpackaged) file(s) found: /usr/share/man/man3/libnbd-ocaml.3.gz RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/man/man3/libnbd-ocaml.3.gz
This commit is contained in:
parent
f817d55251
commit
64f779d6fb
@ -241,6 +241,11 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
|
|||||||
# Delete the golang man page since we're not distributing the bindings.
|
# Delete the golang man page since we're not distributing the bindings.
|
||||||
rm $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-golang.3*
|
rm $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-golang.3*
|
||||||
|
|
||||||
|
%ifarch %{ix86}
|
||||||
|
# Delete the OCaml man page on i686.
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man3/libnbd-ocaml.3*
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
# Delete nbdublk on RHEL.
|
# Delete nbdublk on RHEL.
|
||||||
rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nbdublk
|
rm $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/nbdublk
|
||||||
|
Loading…
Reference in New Issue
Block a user