- Since oasis 0.4.7 bytecode has no stublibs anymore
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-libvirt?expand=0&rev=19
This commit is contained in:
parent
426bb8182b
commit
476775809d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 17 20:24:18 UTC 2017 - ohering@suse.de
|
||||||
|
|
||||||
|
- Since oasis 0.4.7 bytecode has no stublibs anymore
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de
|
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ Library mllibvirt
|
|||||||
FindlibName: libvirt
|
FindlibName: libvirt
|
||||||
BuildDepends: unix
|
BuildDepends: unix
|
||||||
CSources: libvirt_c.c
|
CSources: libvirt_c.c
|
||||||
CCOpt: -Wall -O2 -g -I$PWD -I$PWD/libvirt -Werror -D_GNU_SOURCE ${libvirt_cflags}
|
CCOpt: %{optflags} -I$PWD -I$PWD/libvirt -Werror -D_GNU_SOURCE ${libvirt_cflags}
|
||||||
CCLib: ${libvirt_libs}
|
CCLib: ${libvirt_libs}
|
||||||
|
|
||||||
Document libvirt
|
Document libvirt
|
||||||
@ -140,6 +140,7 @@ _EOF_
|
|||||||
%install
|
%install
|
||||||
%ocaml_oasis_findlib_install
|
%ocaml_oasis_findlib_install
|
||||||
#
|
#
|
||||||
|
%if 0%{?ocaml_native_compiler}
|
||||||
mkdir -vp %{buildroot}/etc/ld.so.conf.d/
|
mkdir -vp %{buildroot}/etc/ld.so.conf.d/
|
||||||
tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_
|
tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_
|
||||||
%{_libdir}/ocaml/libvirt
|
%{_libdir}/ocaml/libvirt
|
||||||
@ -149,18 +150,19 @@ _EOF_
|
|||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING.LIB README
|
%doc COPYING.LIB README
|
||||||
/etc/ld.so.conf.d/*.conf
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%dir %{_libdir}/ocaml
|
%dir %{_libdir}/ocaml
|
||||||
%dir %{_libdir}/ocaml/*
|
%dir %{_libdir}/ocaml/*
|
||||||
%if 0%{?ocaml_native_compiler}
|
%if 0%{?ocaml_native_compiler}
|
||||||
%{_libdir}/ocaml/*/*.cmxs
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
%endif
|
|
||||||
%{_libdir}/ocaml/*/*.so
|
%{_libdir}/ocaml/*/*.so
|
||||||
|
/etc/ld.so.conf.d/*.conf
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user