forked from pool/libguestfs
remove ocaml bindings files if they are disable via rpm macro
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=149
This commit is contained in:
parent
3330fbe08d
commit
a0c4ad6a79
@ -422,6 +422,10 @@ make \
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
#remove ocaml bindings files if they are disable via rpm macro
|
||||
%if !%{with_ocaml_bindings}
|
||||
rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||
%endif
|
||||
find $RPM_BUILD_ROOT -type f \( \
|
||||
-name "virt-list-filesystems" -o -name "virt-list-filesystems.*" -o \
|
||||
-name "virt-list-partitions" -o -name "virt-list-partitions.*" -o \
|
||||
|
Loading…
x
Reference in New Issue
Block a user