Compare commits

...

23 Commits
master ... f27

Author SHA1 Message Date
Richard W.M. Jones 6868ae6dc9 Make nbdkit-plugin-tar require nbdkit-plugin-perl.
The tar plugin is written in Perl and so won't work unless the Perl
plugin is also installed.

This dependency should be generated automatically, but for now we add
it manually.

(cherry picked from commit eb867f6953)
2018-08-06 20:50:22 +01:00
Richard W.M. Jones f7f7c57d23 New upstream version 1.2.6. 2018-08-01 18:17:51 +01:00
Richard W.M. Jones aa423bb2ef New stable version 1.2.5.
Small refactorings in the spec file.
2018-07-25 18:35:01 +01:00
Richard W.M. Jones 15e241691d Small refactorings in the spec file.
(cherry picked from commit 948daff1f0)
2018-07-25 18:32:21 +01:00
Richard W.M. Jones 37d98a4b3e Add generic patches_touch_autotools mechanism for running autoreconf.
(cherry picked from commit 64dbc29874)
(cherry picked from commit 6856676bd4)
2018-07-01 16:40:47 +01:00
Richard W.M. Jones 246b4bd277 Add more upstream patches since 1.2.4 was released.
(cherry picked from commit cb86460bd2)
2018-07-01 16:40:44 +01:00
Richard W.M. Jones 0deb7b11d4 Fix use of autosetup / autopatch macros.
See: http://rpm.org/user_doc/autosetup.html
(cherry picked from commit 3d5206894f)
(cherry picked from commit 9f07358d79)
2018-07-01 16:40:40 +01:00
Richard W.M. Jones 8fd182627b Fix Source URLs.
Correct the URLs for 1.2-stable branch.

(cherry picked from commit a09f2340e1)
2018-06-12 14:17:36 +01:00
Richard W.M. Jones f8a07e05e1 Forgot to update Release field in previous commit.
(cherry picked from commit 95070b5f76)
2018-06-12 14:07:26 +01:00
Richard W.M. Jones f7dbebf58e Add all upstream patches since 1.2.4 was released.
(cherry picked from commit 3130f5ec4b)
2018-06-12 14:06:26 +01:00
Richard W.M. Jones 25248aa8e4 Disable complete test suite on aarch64.
It was taking longer than a day to run the test suite on aarch64,
although it didn't seem to be hanging or failing, just being very very
slow.

(cherry picked from commit 622aabfee2)
(cherry picked from commit fffade3981)
2018-06-12 14:06:21 +01:00
Richard W.M. Jones 2f7d85fd85 Add upstream patch to fix tests when guestfish not available.
(cherry picked from commit 322c5a6b36)
2018-06-09 15:00:39 +01:00
Richard W.M. Jones 451663e6ac Enable tarball signing.
(cherry picked from commit 70cec0a451)
2018-06-09 14:41:01 +01:00
Richard W.M. Jones cd71d8d33a New stable version 1.2.4.
Remove upstream patches.
2018-06-09 14:37:24 +01:00
Richard W.M. Jones ee3fd0e5ef I hate automake, updates previous commit.
(cherry picked from commit 8c8e65fbc9)
2018-06-06 21:24:47 +01:00
Richard W.M. Jones 78e81666e0 BR automake unconditionally because we touch tests/Makefile.am in a patch.
(cherry picked from commit c7e1810498)
2018-06-06 21:24:44 +01:00
Richard W.M. Jones 2b58f2e7f5 Exclude HAVE_GUESTFISH code on incomplete test arches.
(cherry picked from commit e04cb2ed89)
2018-06-06 21:24:40 +01:00
Richard W.M. Jones 75e47a783b Add patch to fix the xz plugin test with recent guestfish.
(cherry picked from commit ba2c1c3cd1)
2018-06-06 21:24:36 +01:00
Richard W.M. Jones c739c90a4a Add patch to work around libvirt problem with relative socket paths.
(cherry picked from commit 4bcef61e81)
2018-06-06 21:24:27 +01:00
Richard W.M. Jones 7622c61a59 New stable version 1.2.3. 2018-06-06 13:19:05 +01:00
Richard W.M. Jones 055d5bb77c New stable version 1.2.2. 2018-04-21 22:15:48 +01:00
Richard W.M. Jones cda8370501 New stable version 1.2.1. 2018-04-09 19:29:44 +01:00
Richard W.M. Jones 06eb82a75f Move to stable branch version 1.2.0. 2018-04-06 13:25:43 +01:00
4 changed files with 72 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/clog
/nbdkit-*.tar.gz
/nbdkit-*.tar.gz.sig

BIN
libguestfs.keyring Normal file

Binary file not shown.

View File

@ -9,22 +9,40 @@
# On all other architectures, a simpler test suite must pass. This
# omits any tests that run full qemu, since running qemu under TCG is
# often broken on non-x86_64 arches.
%global complete_test_arches aarch64 x86_64
%global complete_test_arches x86_64
# Currently everything has Python 2. RHEL 7 doesn't have Python 3.
%if 0%{?rhel} != 7
%global have_python3 1
%endif
# If we should verify tarball signature with GPGv2.
%global verify_tarball_signature 1
# If there are patches which touch autotools files, set this to 1.
%global patches_touch_autotools %{nil}
# The source directory.
%global source_directory 1.2-stable
Name: nbdkit
Version: 1.1.28
Release: 5%{?dist}
Version: 1.2.6
Release: 1%{?dist}
Summary: NBD server
License: BSD
URL: https://github.com/libguestfs/nbdkit
Source0: http://libguestfs.org/download/nbdkit/%{name}-%{version}.tar.gz
Source0: http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz
%if 0%{verify_tarball_signature}
Source1: http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz.sig
# Keyring used to verify tarball signature.
Source2: libguestfs.keyring
%endif
%if 0%{patches_touch_autotools}
BuildRequires: autoconf, automake, libtool
%endif
%if 0%{?rhel} == 7
# On RHEL 7, nothing in the virt stack is shipped on aarch64 and
@ -59,6 +77,9 @@ BuildRequires: python3-devel
BuildRequires: ocaml >= 4.02.2
%endif
BuildRequires: ruby-devel
%if 0%{verify_tarball_signature}
BuildRequires: gnupg2
%endif
# Only for running the test suite:
BuildRequires: /usr/bin/certtool
@ -300,6 +321,8 @@ Summary: Tar archive plugin for %{name}
License: BSD
Requires: %{name}%{?_isa} = %{version}-%{release}
# XXX This dependency should be autogenerated.
Requires: %{name}-plugin-perl
%description plugin-tar
@ -364,12 +387,19 @@ plugins for %{name}.
%prep
%setup -q
%autopatch -p1
%if 0%{verify_tarball_signature}
tmphome="$(mktemp -d)"
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%endif
%autosetup -p1
%if 0%{patches_touch_autotools}
autoreconf -i
%endif
%ifnarch %{complete_test_arches}
# Simplify the test suite so it doesn't require qemu.
sed -i -e '/^if HAVE_LIBGUESTFS/,/^endif HAVE_LIBGUESTFS/d' tests/Makefile.am
sed -i -e '/^if HAVE_GUESTFISH/,/^endif HAVE_GUESTFISH/d' tests/Makefile.am
autoreconf -i
%endif
@ -617,6 +647,39 @@ popd
%changelog
* Wed Aug 1 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.6-1
- New upstream version 1.2.6.
* Wed Jul 25 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-1
- New stable version 1.2.5.
- Small refactorings in the spec file.
* Sun Jul 1 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-3
- Add all upstream patches since 1.2.4 was released.
* Tue Jun 12 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-2
- Add all upstream patches since 1.2.4 was released.
* Sat Jun 9 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-1
- New stable version 1.2.4.
- Remove upstream patches.
- Enable tarball signatures.
- Add upstream patch to fix tests when guestfish not available.
* Wed Jun 6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-1
- New stable version 1.2.3.
- Add patch to work around libvirt problem with relative socket paths.
- Add patch to fix the xz plugin test with recent guestfish.
* Sat Apr 21 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.2-1
- New stable version 1.2.2.
* Mon Apr 9 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.1-1
- New stable version 1.2.1.
* Fri Apr 6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.0-1
- Move to stable branch version 1.2.0.
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.28-5
- Escape macros in %%changelog

View File

@ -1 +1,2 @@
SHA512 (nbdkit-1.1.28.tar.gz) = cbf40dffc773575a69d20edc42570bf63bd5f189ec0a3c4beeca7fca518ec969b94a15fdc834762f322c99145a95a015f5aad60edb078ba98c7b805583218fef
SHA512 (nbdkit-1.2.6.tar.gz) = 0eb171bb1f8f0bda9b424605512e90f16a30b2a11ae980c600c32309c667a99cedcd974adbd80c85fbf298f0b44b49974bade8164c0035fd8c96cd6e352d9421
SHA512 (nbdkit-1.2.6.tar.gz.sig) = f69df2c4656d9c3ca12b0a487631ef4a7978d5168d1fb0da3bb95856846e1d9672902c5ee175c42a1f16d344586507a4fbe8c3d8b9b683c5e31c1ace9b941e4f