Accepting request 885438 from home:susnux:branches:Virtualization
As requested: Bring back _service OBS-URL: https://build.opensuse.org/request/show/885438 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libnbd?expand=0&rev=5
This commit is contained in:
parent
99fe251b8e
commit
78b0b2c168
6
_service
6
_service
@ -1,10 +1,10 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="filename">libnbd</param>
|
||||
<param name="revision">v1.7.1</param>
|
||||
<param name="revision">v1.7.7</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/libguestfs/libnbd</param>
|
||||
<param name="url">https://gitlab.com/nbdkit/libnbd.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
@ -12,7 +12,7 @@
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
<param name="compression">bz2</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c5cfb9e3835d164fab2c066b0e1ac16eadefa7b936523d516ea1341a0bab5a7
|
||||
size 1068490
|
3
libnbd-1.7.7.tar.bz2
Normal file
3
libnbd-1.7.7.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f89ee97a2fe3dee53d1701c97933ad8ad6f6ce56995c0ced203c691cad3e48d
|
||||
size 248510
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 01:04:29 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
- Update to 1.7.7
|
||||
* Fixed CVE-2021-20286
|
||||
* Fix parsing and construction of IPv6 URIs
|
||||
* New API nbd_get_uri to get an NBD URI for a connection
|
||||
* Permit "see also" links to nbd_get_error and nbd_get_errno
|
||||
* Avoid over-long lines in POD.
|
||||
* Fix reporting of NBD URI support
|
||||
* Let exit status reflect any failures during NBD_OPT_INFO
|
||||
* Fix page eviction when len < page_size.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 14 18:31:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
33
libnbd.spec
33
libnbd.spec
@ -15,30 +15,30 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define sover 0
|
||||
|
||||
Name: libnbd
|
||||
Version: 1.7.1
|
||||
Version: 1.7.7
|
||||
Release: 0
|
||||
Summary: NBD client library in userspace
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://github.com/libguestfs/libnbd
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
Requires: libnbd%{sover} = %{version}-%{release}
|
||||
URL: https://gitlab.com/nbdkit/libnbd
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: ocaml(compiler)
|
||||
BuildRequires: perl(Pod::Man)
|
||||
BuildRequires: perl(Pod::Simple)
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(bash-completion)
|
||||
BuildRequires: pkgconfig(fuse)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gnutls) >= 3.3.0
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
|
||||
Requires: libnbd%{sover} = %{version}
|
||||
# Only for running the test suite.
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: jq
|
||||
@ -47,7 +47,6 @@ BuildRequires: nbd
|
||||
%endif
|
||||
BuildRequires: qemu-tools
|
||||
|
||||
|
||||
%description
|
||||
NBD — Network Block Device — is a protocol for accessing Block Devices
|
||||
(hard disks and disk-like things) over a Network.
|
||||
@ -70,6 +69,7 @@ The key features are:
|
||||
|
||||
%package -n libnbd%{sover}
|
||||
Summary: Core library for nbd
|
||||
|
||||
%description -n libnbd%{sover}
|
||||
This is the NBD client library in userspace, a simple library for
|
||||
writing NBD clients.
|
||||
@ -77,20 +77,23 @@ writing NBD clients.
|
||||
%package devel
|
||||
Summary: Development headers for %{name}
|
||||
Requires: libnbd%{sover} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development headers for %{name}.
|
||||
|
||||
%package -n nbdfuse
|
||||
Summary: FUSE support for %{name}
|
||||
Requires: libnbd%{sover} = %{version}-%{release}
|
||||
|
||||
%description -n nbdfuse
|
||||
This package contains FUSE support for %{name}.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash tab-completion for %{name}
|
||||
BuildArch: noarch
|
||||
Requires: bash-completion >= 2.0
|
||||
Requires: libnbd%{sover} = %{version}-%{release}
|
||||
Summary: Bash tab-completion for %{name}
|
||||
BuildArch: noarch
|
||||
Requires: bash-completion >= 2.0
|
||||
Requires: libnbd%{sover} = %{version}-%{release}
|
||||
|
||||
%description bash-completion
|
||||
Install this package if you want intelligent bash tab-completion
|
||||
for %{name}.
|
||||
@ -99,7 +102,6 @@ for %{name}.
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
@ -107,12 +109,10 @@ autoreconf -fiv
|
||||
--enable-fuse \
|
||||
--disable-golang \
|
||||
--disable-python \
|
||||
--disable-ocaml \
|
||||
--disable-static
|
||||
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%fdupes %{buildroot}
|
||||
@ -135,7 +135,6 @@ for f in fuse/test-*.sh; do
|
||||
chmod +x $f
|
||||
done
|
||||
|
||||
|
||||
%make_build check || {
|
||||
for f in $(find . -name test-suite.log); do
|
||||
echo
|
||||
@ -174,3 +173,5 @@ done
|
||||
|
||||
%files bash-completion
|
||||
%{_datadir}/bash-completion
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user