From 5a75091a73a0a4e8aaf6fe27ca7f8efd0849a3ee5d67a00668f35aebf1d27aa1 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 19 Nov 2012 16:25:26 +0000 Subject: [PATCH] - 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 --- libguestfs-1.19.59.tar.gz | 3 --- libguestfs-1.19.61.tar.gz | 3 +++ libguestfs.changes | 6 ++++++ libguestfs.spec | 24 +++++++++++++++++++++++- 4 files changed, 32 insertions(+), 4 deletions(-) delete mode 100644 libguestfs-1.19.59.tar.gz create mode 100644 libguestfs-1.19.61.tar.gz diff --git a/libguestfs-1.19.59.tar.gz b/libguestfs-1.19.59.tar.gz deleted file mode 100644 index fa9e38a..0000000 --- a/libguestfs-1.19.59.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13c6c8236680d31484e0e0ff4ca035930d9083256848be5f1d285b1500ab9e4e -size 8862512 diff --git a/libguestfs-1.19.61.tar.gz b/libguestfs-1.19.61.tar.gz new file mode 100644 index 0000000..42206af --- /dev/null +++ b/libguestfs-1.19.61.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0104d0e4d90d165c27ab6a8baedf2ac177479d8d378428b54fd12e2881f4ad0a +size 8950659 diff --git a/libguestfs.changes b/libguestfs.changes index 55281bb..5329016 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -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 diff --git a/libguestfs.spec b/libguestfs.spec index bee6c1c..02e2b51 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -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