- Update to version 1.19.61

new subpackage lua-libguestfs, disabled for sles11

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=158
This commit is contained in:
Olaf Hering 2012-11-19 16:25:26 +00:00 committed by Git OBS Bridge
parent cbafb3ebfd
commit 5a75091a73
4 changed files with 32 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13c6c8236680d31484e0e0ff4ca035930d9083256848be5f1d285b1500ab9e4e
size 8862512

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0104d0e4d90d165c27ab6a8baedf2ac177479d8d378428b54fd12e2881f4ad0a
size 8950659

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 19 17:24:19 CET 2012 - ohering@suse.de
- Update to version 1.19.61
new subpackage lua-libguestfs, disabled for sles11
-------------------------------------------------------------------
Wed Nov 14 20:22:19 CET 2012 - ohering@suse.de

View File

@ -19,6 +19,7 @@
%define with_ocaml_tools 1
%define with_ocaml_bindings 1
%define with_lua_bindings 1
%define with_python_bindings 1
%define with_perl 1
%define with_ruby 1
@ -31,6 +32,7 @@
# leave features enabled in OBS main repo
%else
%define with_ocaml_bindings 0
%define with_lua_bindings 0
%define with_python_bindings 0
%define with_ruby 0
%define with_hivex 0
@ -40,6 +42,7 @@
#
# The following defines are overridden in the individual subpackages
%define _configure_fuse --disable-fuse
%define _configure_lua --disable-lua
%define _configure_ocaml --disable-ocaml
%define _configure_perl --disable-perl
%define _configure_python --disable-python
@ -96,7 +99,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Compatibility package for guestfs-tools
License: GPL-2
Group: System/Filesystems
Version: 1.19.59
Version: 1.19.61
Release: 0
Patch5: libguestfs-1.13.14-ruby.patch
Patch1000: 1000-force-virtio_blk-in-old-guest-kernel.patch
@ -215,6 +218,18 @@ Obsoletes: libguestfs-perl < %{version}
Allows Perl scripts to directly use libguestfs.
%endif
#
%if %{with_lua_bindings}
%package -n lua-libguestfs
Summary: Provides Lua support for libguestfs
Group: System/Filesystems
BuildRequires: lua-devel
%define _configure_lua --enable-lua
#
%description -n lua-libguestfs
Allows lua scripts to directly use libguestfs.
%endif
#
%if %{with_python_bindings}
%package -n python-libguestfs
Summary: Provides Python support for libguestfs
@ -386,6 +401,7 @@ fi
--disable-haskell \
--disable-php \
%{_configure_fuse} \
%{_configure_lua} \
%{_configure_ocaml} \
%{_configure_perl} \
%{_configure_python} \
@ -593,6 +609,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/ocaml/guestfs/*.mli
%endif
#
%if %{with_lua_bindings}
%files -n lua-libguestfs
%defattr(-,root,root)
%{_libdir}/lua
%endif
#
%if %{with_perl}
%post -n perl-Sys-Guestfs -p /sbin/ldconfig