From a7ff5bd624043ec5f34d5b90f7e1999fd996ee69 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 7 Jul 2018 07:28:53 +0100 Subject: [PATCH] New upstream version 1.5.0. Add Lua plugin and nbdkit-plugin-lua subpackage. --- nbdkit.spec | 32 ++++++++++++++++++++++++++++---- sources | 4 ++-- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/nbdkit.spec b/nbdkit.spec index dfeb9c8..26e5d45 100644 --- a/nbdkit.spec +++ b/nbdkit.spec @@ -20,16 +20,16 @@ %global verify_tarball_signature 1 Name: nbdkit -Version: 1.4.0 +Version: 1.5.0 Release: 1%{?dist} Summary: NBD server License: BSD URL: https://github.com/libguestfs/nbdkit -Source0: http://libguestfs.org/download/nbdkit/1.4-stable/%{name}-%{version}.tar.gz +Source0: http://libguestfs.org/download/nbdkit/1.5-development/%{name}-%{version}.tar.gz %if 0%{verify_tarball_signature} -Source1: http://libguestfs.org/download/nbdkit/1.4-stable/%{name}-%{version}.tar.gz.sig +Source1: http://libguestfs.org/download/nbdkit/1.5-development/%{name}-%{version}.tar.gz.sig # Keyring used to verify tarball signature. Source2: libguestfs.keyring %endif @@ -75,6 +75,7 @@ BuildRequires: ocaml >= 4.02.2 %endif BuildRequires: ruby-devel BuildRequires: tcl-devel +BuildRequires: lua-devel %if 0%{verify_tarball_signature} BuildRequires: gnupg2 %endif @@ -240,6 +241,17 @@ libvirt guest disks readonly. It is implemented using the libvirt virDomainBlockPeek API. +%package plugin-lua +Summary: Lua plugin for %{name} +License: BSD + +Requires: %{name}%{?_isa} = %{version}-%{release} + + +%description plugin-lua +This package lets you write Lua plugins for %{name}. + + %ifarch %{ocaml_native_compiler} %package plugin-ocaml Summary: OCaml plugin for %{name} @@ -476,7 +488,7 @@ make %{?_smp_mflags} %if 0%{?have_python3} pushd python3 export PYTHON=%{_bindir}/python3 -%configure --disable-static --disable-perl --disable-ocaml --disable-ruby --disable-tcl +%configure --disable-static --disable-lua --disable-perl --disable-ocaml --disable-ruby --disable-tcl # Verify that it picked the correct version of Python # to avoid RHBZ#1404631 happening again silently. grep '^PYTHON_VERSION = 3' Makefile @@ -622,6 +634,13 @@ popd %{_mandir}/man1/nbdkit-libvirt-plugin.1* +%files plugin-lua +%doc README +%license LICENSE +%{_libdir}/%{name}/plugins/nbdkit-lua-plugin.so +%{_mandir}/man3/nbdkit-lua-plugin.3* + + %ifarch %{ocaml_native_compiler} %files plugin-ocaml %doc README @@ -716,6 +735,7 @@ popd # Include the source of the example plugins in the documentation. %doc plugins/example*/*.c %doc plugins/example4/nbdkit-example4-plugin +%doc plugins/lua/example.lua %doc plugins/perl/example.pl %doc plugins/python/example.py %doc plugins/ruby/example.rb @@ -735,6 +755,10 @@ popd %changelog +* Sat Jul 7 2018 Richard W.M. Jones - 1.5.0-1 +- New upstream version 1.5.0. +- Add Lua plugin and nbdkit-plugin-lua subpackage. + * Fri Jul 6 2018 Richard W.M. Jones - 1.4.0-1 - New upstream version 1.4.0. - Add nbdkit-plugin-tcl subpackage. diff --git a/sources b/sources index eda5482..df0e689 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (nbdkit-1.4.0.tar.gz) = c9503f074ef767c0d75d9869d2374763494b13a9ce27a0b9d48fe83b6975bd4e81662d967fd20e2212a05621c7899cc40c4056985bb82c1efb9b50fb94b2d168 -SHA512 (nbdkit-1.4.0.tar.gz.sig) = bcd2a7d6e2fa45d93d3b2eec9ab15c52ed1ef1a3aaa5dd7beb1ca3ad52d9621826457ef1513c6166d6173282da42a04b73a1384d32ce0c66398ecac90d39b98a +SHA512 (nbdkit-1.5.0.tar.gz) = a3fa45d3d01137eb641f724a3d4ddcd85bc42bbf3776a1494cd91e25a9122b188943d0cb3f0ac65b1cd27faf7c540eed71e5a70421548d133b769f85dbb6bb59 +SHA512 (nbdkit-1.5.0.tar.gz.sig) = 82b811053d69290d82a2804d67ceb3af8c18ba670d83aa4a9ac224a29e1f030bccad7d827af8de03ffab3fd5daa5e1a6344f6702b33ca8ed5ab5e0d6f0b01221