Compare commits
24 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e9bddefb89 | ||
|
|
6868ae6dc9 | ||
|
|
f7f7c57d23 | ||
|
|
aa423bb2ef | ||
|
|
15e241691d | ||
|
|
37d98a4b3e | ||
|
|
246b4bd277 | ||
|
|
0deb7b11d4 | ||
|
|
8fd182627b | ||
|
|
f8a07e05e1 | ||
|
|
f7dbebf58e | ||
|
|
25248aa8e4 | ||
|
|
2f7d85fd85 | ||
|
|
451663e6ac | ||
|
|
cd71d8d33a | ||
|
|
ee3fd0e5ef | ||
|
|
78e81666e0 | ||
|
|
2b58f2e7f5 | ||
|
|
75e47a783b | ||
|
|
c739c90a4a | ||
|
|
7622c61a59 | ||
|
|
055d5bb77c | ||
|
|
cda8370501 | ||
|
|
06eb82a75f |
4 changed files with 75 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/clog
|
||||
/nbdkit-*.tar.gz
|
||||
/nbdkit-*.tar.gz.sig
|
||||
|
|
|
|||
BIN
libguestfs.keyring
Normal file
BIN
libguestfs.keyring
Normal file
Binary file not shown.
78
nbdkit.spec
78
nbdkit.spec
|
|
@ -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.7
|
||||
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,42 @@ popd
|
|||
|
||||
|
||||
%changelog
|
||||
* Sun Aug 19 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.7-1
|
||||
- New upstream version 1.2.7.
|
||||
|
||||
* 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
|
||||
|
||||
|
|
|
|||
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
|||
SHA512 (nbdkit-1.1.28.tar.gz) = cbf40dffc773575a69d20edc42570bf63bd5f189ec0a3c4beeca7fca518ec969b94a15fdc834762f322c99145a95a015f5aad60edb078ba98c7b805583218fef
|
||||
SHA512 (nbdkit-1.2.7.tar.gz) = d876784f9fcb96508491165e5c1e8eacefe7c3685f6ccb31a09a741693dd143bef7880f49885a3a51b1b1f110ba0d955d7d60166c26915ccfc87f0003c28d502
|
||||
SHA512 (nbdkit-1.2.7.tar.gz.sig) = 9bf3fae2d0472f49dc2faf7226250fdc5ae4a8f35f003a987b41dc1b9de11657c8d09e90aa76dbf24a3c3f8267326357e2d73c905ebccd719a846cc803a666dd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue