- Enable building the ocaml bindings for libnbd.
virt-v2v has added a dependency on ocaml bindings from libnbd beginning with virt-v2v version 2.0.0. libnbd.spec OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=12
This commit is contained in:
parent
d6ffee710e
commit
33411e32cd
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 16:25:41 MDT 2022 - carnold@suse.com
|
||||
|
||||
- Enable building the ocaml bindings for libnbd.
|
||||
virt-v2v has added a dependency on ocaml bindings from libnbd
|
||||
beginning with virt-v2v version 2.0.0.
|
||||
libnbd.spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 08 16:46:29 UTC 2022 - jfehlig@suse.com
|
||||
|
||||
|
17
libnbd.spec
17
libnbd.spec
@ -29,6 +29,7 @@ BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libtool
|
||||
BuildRequires: ocaml-findlib
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: ocaml(compiler)
|
||||
BuildRequires: perl(Pod::Man)
|
||||
@ -102,6 +103,7 @@ for %{name}.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%define _lto_cflags %{nil}
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--with-tls-priority=@LIBNBD,SYSTEM \
|
||||
@ -121,9 +123,6 @@ find "%{buildroot}" -name '*.la' -delete
|
||||
# Delete the golang man page since we're not distributing the bindings.
|
||||
rm %{buildroot}/%{_mandir}/man3/libnbd-golang.3*
|
||||
|
||||
# Delete the ocaml man page. 'make install' should be fixed to not install it when ocaml is disabled
|
||||
rm %{buildroot}/%{_mandir}/man3/libnbd-ocaml.3*
|
||||
|
||||
%check
|
||||
# All fuse tests fail in Koji with:
|
||||
# fusermount: entry for fuse/test-*.d not found in /etc/mtab
|
||||
@ -156,12 +155,24 @@ done
|
||||
%license COPYING.LIB
|
||||
%{_libdir}/libnbd.so.%{sover}
|
||||
%{_libdir}/libnbd.so.%{sover}.*
|
||||
%dir %{_libdir}/ocaml/nbd
|
||||
%{_libdir}/ocaml/nbd/META
|
||||
%{_libdir}/ocaml/nbd/NBD.cmi
|
||||
%{_libdir}/ocaml/nbd/mlnbd.cma
|
||||
%{_libdir}/ocaml/stublibs/dllmlnbd.so
|
||||
%{_libdir}/ocaml/stublibs/dllmlnbd.so.owner
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libnbd.h
|
||||
%{_libdir}/libnbd.so
|
||||
%{_libdir}/pkgconfig/libnbd.pc
|
||||
%{_libdir}/ocaml/nbd/NBD.cmx
|
||||
%{_libdir}/ocaml/nbd/mlnbd.cmxa
|
||||
%{_libdir}/ocaml/nbd/NBD.mli
|
||||
%{_libdir}/ocaml/nbd/mlnbd.a
|
||||
%{_libdir}/ocaml/nbd/libmlnbd.a
|
||||
%{_mandir}/man3/libnbd.3*
|
||||
%{_mandir}/man3/libnbd-ocaml.3.gz
|
||||
%{_mandir}/man1/libnbd-release-notes-1.*.1*
|
||||
%{_mandir}/man3/libnbd-security.3*
|
||||
%{_mandir}/man3/nbd_*.3*
|
||||
|
Loading…
x
Reference in New Issue
Block a user