SHA256
1
0
forked from pool/libguestfs

- Remove ocaml_native_compiler conditional

build native target unconditionally

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=470
This commit is contained in:
Olaf Hering 2021-04-21 13:09:58 +00:00 committed by Git OBS Bridge
parent fdd94d0c9c
commit 80874171af
2 changed files with 3 additions and 8 deletions

View File

@ -26,11 +26,8 @@ Tue Apr 13 13:13:13 UTC 2021 - ohering@suse.de
* appliance: Avoid having ${exec_prefix} in guestfs appliance path.
* build: Avoid warnings about unknown pragmas.
- add libguestfs.env.patch
-------------------------------------------------------------------
Fri Apr 9 09:09:09 UTC 2021 - ohering@suse.de
- Require current ocaml-rpm-macros
- Remove ocaml_native_compiler conditional
build native target unconditionally
-------------------------------------------------------------------
Tue Jan 12 05:38:44 MST 2021 - carnold@suse.com

View File

@ -118,7 +118,7 @@ BuildRequires: ocaml-hivex-devel
BuildRequires: ocaml-libvirt-devel
#
BuildRequires: ocaml-rpm-macros >= 20210409
BuildRequires: ocaml-rpm-macros
%if %{with ocaml_bindings}
%define _configure_ocaml --enable-ocaml
%endif
@ -740,10 +740,8 @@ rm %{buildroot}/%{_datadir}/virt-p2v/p2v.ks.in
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/guestfs
%{_libdir}/ocaml/guestfs/*.a
%if 0%{?suse_ocaml_native_compiler}
%{_libdir}/ocaml/guestfs/*.cmx
%{_libdir}/ocaml/guestfs/*.cmxa
%endif
%{_libdir}/ocaml/guestfs/*.mli
%endif
#