- move ocaml files to ocaml-libguestfs and ocaml-libguestfs-devel
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=48
This commit is contained in:
parent
744f9b0f08
commit
d361fc3218
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 1 20:26:11 CEST 2012 - ohering@suse.de
|
||||||
|
|
||||||
|
- move ocaml files to ocaml-libguestfs and ocaml-libguestfs-devel
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 1 15:40:47 CEST 2012 - ohering@suse.de
|
Sat Sep 1 15:40:47 CEST 2012 - ohering@suse.de
|
||||||
|
|
||||||
|
@ -185,6 +185,22 @@ All this functionality is available through a convenient shell called
|
|||||||
guestfish, or use virt-rescue to get a rescue shell for fixing unbootable
|
guestfish, or use virt-rescue to get a rescue shell for fixing unbootable
|
||||||
virtual machines.
|
virtual machines.
|
||||||
|
|
||||||
|
#
|
||||||
|
%if %{with_ocaml}
|
||||||
|
%package -n ocaml-libguestfs
|
||||||
|
Summary: Provides OCaml support for libguestfs
|
||||||
|
Group: System/Filesystems
|
||||||
|
|
||||||
|
%description -n ocaml-libguestfs
|
||||||
|
Allows OCaml scripts to directly use libguestfs
|
||||||
|
|
||||||
|
%package -n ocaml-libguestfs-devel
|
||||||
|
Summary: Provides OCaml support for libguestfs
|
||||||
|
Group: Development/System
|
||||||
|
|
||||||
|
%description -n ocaml-libguestfs-devel
|
||||||
|
Allows OCaml scripts to directly use libguestfs
|
||||||
|
%endif
|
||||||
#
|
#
|
||||||
%if %{with_perl}
|
%if %{with_perl}
|
||||||
%package -n perl-Sys-Guestfs
|
%package -n perl-Sys-Guestfs
|
||||||
@ -428,6 +444,25 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/guestfs
|
%{_libdir}/guestfs
|
||||||
|
|
||||||
|
%if %{with_ocaml}
|
||||||
|
%files -n ocaml-libguestfs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_libdir}/ocaml
|
||||||
|
%dir %{_libdir}/ocaml/guestfs
|
||||||
|
%{_libdir}/ocaml/guestfs/META
|
||||||
|
%{_libdir}/ocaml/guestfs/*.cmi
|
||||||
|
%{_libdir}/ocaml/guestfs/*.cma
|
||||||
|
%{_libdir}/ocaml/stublibs
|
||||||
|
|
||||||
|
%files -n ocaml-libguestfs-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_libdir}/ocaml
|
||||||
|
%dir %{_libdir}/ocaml/guestfs
|
||||||
|
%{_libdir}/ocaml/guestfs/*.a
|
||||||
|
%{_libdir}/ocaml/guestfs/*.cmx
|
||||||
|
%{_libdir}/ocaml/guestfs/*.cmxa
|
||||||
|
%{_libdir}/ocaml/guestfs/*.mli
|
||||||
|
%endif
|
||||||
#
|
#
|
||||||
%if %{with_perl}
|
%if %{with_perl}
|
||||||
%post -n perl-Sys-Guestfs -p /sbin/ldconfig
|
%post -n perl-Sys-Guestfs -p /sbin/ldconfig
|
||||||
@ -470,8 +505,5 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace) /etc/libguestfs-tools.conf
|
%config(noreplace) /etc/libguestfs-tools.conf
|
||||||
%config(noreplace) /etc/bash_completion.d/guestfish-bash-completion.sh
|
%config(noreplace) /etc/bash_completion.d/guestfish-bash-completion.sh
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%if %{with_ocaml}
|
|
||||||
%{_libdir}/ocaml
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user