Accepting request 988218 from home:jfehlig:branches:Virtualization

- Update to version 1.12.4:
  * python: Correctly use PyGILState
  * olang: aio_buffer.go: Explicit panic() on invalid usage
  * python: Enhance tests of nbd.Buffer
  * python: Plug uninit leak in nbd.Buffer.to_bytearray
  * python: Avoid memleak on (unlikely) module failure
  * python: Accept buffers in nbd.Buffer.from_bytearray()
- Enable building python module and utilities

OBS-URL: https://build.opensuse.org/request/show/988218
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=18
This commit is contained in:
James Fehlig 2022-07-11 01:08:07 +00:00 committed by Git OBS Bridge
parent 435c7e5ef2
commit 1687673974
5 changed files with 35 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">libnbd</param>
<param name="revision">v1.12.2</param>
<param name="revision">v1.12.4</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://gitlab.com/nbdkit/libnbd.git</param>

View File

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

3
libnbd-1.12.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:946dd363b17893ef1b964c980f59c034162d07ce8bd011cb72a9d28e0edff4b6
size 336959

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Jul 8 17:59:24 UTC 2022 - James Fehlig <jfehlig@suse.com>
- Update to version 1.12.4:
* python: Correctly use PyGILState
* olang: aio_buffer.go: Explicit panic() on invalid usage
* python: Enhance tests of nbd.Buffer
* python: Plug uninit leak in nbd.Buffer.to_bytearray
* python: Avoid memleak on (unlikely) module failure
* python: Accept buffers in nbd.Buffer.from_bytearray()
- Enable building python module and utilities
-------------------------------------------------------------------
Tue May 24 16:31:09 UTC 2022 - James Fehlig <jfehlig@suse.com>

View File

@ -19,12 +19,12 @@
%define sover 0
Name: libnbd
Version: 1.12.2
Version: 1.12.4
Release: 0
Summary: NBD client library in userspace
License: LGPL-2.1-or-later
URL: https://gitlab.com/nbdkit/libnbd
Source0: %{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
@ -39,6 +39,7 @@ BuildRequires: pkgconfig(fuse3)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnutls) >= 3.3.0
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(python3)
Requires: libnbd%{sover} = %{version}
# Only for running the test suite.
BuildRequires: gcc-c++
@ -82,6 +83,13 @@ Requires: libnbd%{sover} = %{version}-%{release}
%description devel
This package contains development headers for %{name}.
%package -n python3-%{name}
Summary: Python 3 bindings for %{name}
Requires: libnbd%{sover} = %{version}-%{release}
%description -n python3-%{name}
python3-%{name} contains Python 3 bindings for %{name}.
%package -n nbdfuse
Summary: FUSE support for %{name}
Requires: libnbd%{sover} = %{version}-%{release}
@ -109,7 +117,8 @@ autoreconf -fiv
--with-tls-priority=@LIBNBD,SYSTEM \
--enable-fuse \
--disable-golang \
--disable-python \
PYTHON=%{__python3} \
--enable-python \
--disable-static
%make_build
@ -177,6 +186,13 @@ done
%{_mandir}/man3/libnbd-security.3*
%{_mandir}/man3/nbd_*.3*
%files -n python3-%{name}
%{python3_sitearch}/libnbdmod*.so
%{python3_sitearch}/nbd.py
%{python3_sitearch}/nbdsh.py
%{_bindir}/nbdsh
%{_mandir}/man1/nbdsh.1*
%files -n nbdfuse
%{_bindir}/nbdfuse
%{_mandir}/man1/nbdfuse.1*