Blame SPECS/nbdkit.spec

b6a886
%global _hardened_build 1
b6a886
b6a886
%ifarch aarch64 %{arm} %{ix86} x86_64 ppc %{power64}
b6a886
%global have_libguestfs 1
b6a886
%endif
b6a886
b6a886
# Architectures where the complete test suite must pass.
b6a886
#
b6a886
# On all other architectures, a simpler test suite must pass.  This
b6a886
# omits any tests that run full qemu, since running qemu under TCG is
b6a886
# often broken on non-x86_64 arches.
b6a886
%global complete_test_arches x86_64
b6a886
b6a886
# Currently everything has Python 2.  RHEL 7 doesn't have Python 3.
b6a886
%if 0%{?rhel} != 7
b6a886
%global have_python3 1
b6a886
%endif
b6a886
b6a886
# If we should verify tarball signature with GPGv2.
b6a886
%global verify_tarball_signature 1
b6a886
b6a886
# If there are patches which touch autotools files, set this to 1.
b6a886
%global patches_touch_autotools 1
b6a886
b6a886
# The source directory.
b6a886
%global source_directory 1.8-stable
b6a886
b6a886
Name:           nbdkit
b6a886
Version:        1.8.0
dda0b2
Release:        4%{?dist}
b6a886
Summary:        NBD server
b6a886
b6a886
License:        BSD
b6a886
URL:            https://github.com/libguestfs/nbdkit
b6a886
b6a886
Source0:        http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz
b6a886
%if 0%{verify_tarball_signature}
b6a886
Source1:        http://libguestfs.org/download/nbdkit/%{source_directory}/%{name}-%{version}.tar.gz.sig
b6a886
# Keyring used to verify tarball signature.
b6a886
Source2:       libguestfs.keyring
b6a886
%endif
b6a886
b6a886
# Patches come from:
dda0b2
# https://github.com/libguestfs/nbdkit/tree/rhel-7.8
b6a886
b6a886
# Patches.
b6a886
Patch0001:     0001-partitioning-Rename-crc32-to-efi_crc32-to-avoid-conf.patch
dda0b2
Patch0002:     0002-server-Wait-until-handshake-complete-before-calling-.patch
b6a886
b6a886
%if 0%{patches_touch_autotools}
b6a886
BuildRequires: autoconf, automake, libtool
b6a886
%endif
b6a886
b6a886
%if 0%{?rhel} == 7
b6a886
# On RHEL 7, nothing in the virt stack is shipped on aarch64 and
b6a886
# libguestfs was not shipped on POWER (fixed in 7.5).  We could in
b6a886
# theory make all of this work by having lots more conditionals, but
b6a886
# for now limit this package to x86_64 on RHEL.
b6a886
ExclusiveArch:  x86_64
b6a886
%endif
b6a886
b6a886
%ifnarch %{complete_test_arches}
b6a886
BuildRequires:  autoconf, automake, libtool
b6a886
%endif
b6a886
BuildRequires:  /usr/bin/pod2man
b6a886
BuildRequires:  gnutls-devel
b6a886
BuildRequires:  libselinux-devel
b6a886
%if 0%{?have_libguestfs}
b6a886
BuildRequires:  libguestfs-devel
b6a886
%endif
b6a886
BuildRequires:  libvirt-devel
b6a886
BuildRequires:  xz-devel
b6a886
BuildRequires:  zlib-devel
b6a886
BuildRequires:  libcurl-devel
b6a886
BuildRequires:  perl-devel
b6a886
BuildRequires:  perl(ExtUtils::Embed)
b6a886
BuildRequires:  python2-devel
b6a886
%if 0%{?have_python3}
b6a886
BuildRequires:  python3-devel
b6a886
%endif
b6a886
%ifarch %{ocaml_native_compiler}
b6a886
# Requires OCaml 4.02.2 which contains fix for
b6a886
# http://caml.inria.fr/mantis/view.php?id=6693
b6a886
BuildRequires:  ocaml >= 4.02.2
b6a886
%endif
b6a886
BuildRequires:  ruby-devel
b6a886
%if 0%{verify_tarball_signature}
b6a886
BuildRequires: gnupg2
b6a886
%endif
b6a886
b6a886
# Only for running the test suite:
b6a886
BuildRequires:  /usr/bin/certtool
b6a886
BuildRequires:  /usr/bin/qemu-img
b6a886
BuildRequires:  /usr/bin/socat
b6a886
BuildRequires:  /usr/sbin/ss
b6a886
b6a886
%description
b6a886
NBD is a protocol for accessing block devices (hard disks and
b6a886
disk-like things) over the network.
b6a886
b6a886
'nbdkit' is a toolkit for creating NBD servers.
b6a886
b6a886
The key features are:
b6a886
b6a886
* Multithreaded NBD server written in C with good performance.
b6a886
b6a886
* Well-documented, simple plugin API with a stable ABI guarantee.
b6a886
  Allows you to export "unconventional" block devices easily.
b6a886
b6a886
* Liberal license (BSD) allows nbdkit to be linked to proprietary
b6a886
  libraries or included in proprietary code.
b6a886
b6a886
You probably want to install one of more plugins (%{name}-plugin-*).
b6a886
b6a886
To develop plugins, install the %{name}-devel package and start by
b6a886
reading the nbdkit(1) and nbdkit-plugin(3) manual pages.
b6a886
b6a886
b6a886
%package basic-plugins
b6a886
Summary:        Basic plugins for %{name}
b6a886
License:        BSD
b6a886
b6a886
Requires:       %{name}%{?_isa} = %{version}-%{release}
b6a886
b6a886
# For upgrade path, remove these in Fedora 30.
b6a886
Obsoletes:      %{name}-plugin-file < 1.1.19-1
b6a886
Obsoletes:      %{name}-plugin-nbd < 1.1.19-1
b6a886
Obsoletes:      %{name}-plugin-streaming < 1.1.19-1
b6a886
b6a886
b6a886
%description basic-plugins
b6a886
This package contains some basic plugins for %{name} which have only
b6a886
trivial dependencies.
b6a886
b6a886
nbdkit-data-plugin         Serve small amounts of data from the command line.
b6a886
b6a886
nbdkit-file-plugin         The normal file plugin for serving files.
b6a886
b6a886
nbdkit-memory-plugin       A virtual memory plugin.
b6a886
b6a886
nbdkit-nbd-plugin          An NBD forwarding plugin.
b6a886
b6a886
nbdkit-null-plugin         A null (bitbucket) plugin.
b6a886
b6a886
nbdkit-pattern-plugin      Fixed test pattern.
b6a886
b6a886
nbdkit-partitioning-plugin Create virtual disks from partitions.
b6a886
b6a886
nbdkit-random-plugin       Random content plugin for testing.
b6a886
b6a886
nbdkit-split-plugin        Concatenate one or more files.
b6a886
b6a886
nbdkit-streaming-plugin    A streaming file serving plugin.
b6a886
b6a886
nbdkit-zero-plugin         Zero-length plugin for testing.
b6a886
b6a886
b6a886
%package example-plugins
b6a886
Summary:        Example plugins for %{name}
b6a886
License:        BSD
b6a886
b6a886
Requires:       %{name}%{?_isa} = %{version}-%{release}
b6a886
b6a886
# For upgrade path, remove this in Fedora 30.
b6a886
Obsoletes:      %{name}-plugin-examples < 1.1.19-1
b6a886
b6a886
b6a886
%description example-plugins
b6a886
This package contains example plugins for %{name}.
b6a886
b6a886
b6a886
# The plugins below have non-trivial dependencies are so are
b6a886
# packaged separately.
b6a886
b6a886
%package plugin-python-common
b6a886
Summary:        Python 2 and 3 plugin common files for %{name}
b6a886
License:        BSD
b6a886
b6a886
Requires:       %{name}%{?_isa} = %{version}-%{release}
b6a886
b6a886
b6a886
%description plugin-python-common
b6a886
This package contains common files shared between Python 2
b6a886
and Python 3 %{name} plugins.
b6a886
b6a886
You should not install this package directly.  Instead install
b6a886
either %{name}-plugin-python2 or %{name}-plugin-python3.
b6a886
b6a886
b6a886
%package plugin-python2
b6a886
Summary:        Python 2 plugin for %{name}
b6a886
License:        BSD
b6a886
b6a886
Requires:       %{name}%{?_isa} = %{version}-%{release}
b6a886
Requires:       %{name}-plugin-python-common = %{version}-%{release}
b6a886
b6a886
b6a886
%description plugin-python2
b6a886
This package lets you write Python 2 plugins for %{name}.
b6a886
b6a886
b6a886
%ifarch %{ix86} x86_64
b6a886
%package plugin-vddk
b6a886
Summary:        VMware VDDK plugin for %{name}
b6a886
License:        BSD
b6a886
b6a886
Requires:       %{name}%{?_isa} = %{version}-%{release}
b6a886
b6a886
b6a886
%description plugin-vddk
b6a886
This package is a plugin for %{name} which connects to
b6a886
VMware VDDK for accessing VMware disks and servers.
b6a886
%endif
b6a886
b6a886
b6a886
%package devel
b6a886
Summary:        Development files and documentation for %{name}
b6a886
License:        BSD
b6a886
b6a886
Requires:       %{name}%{?_isa} = %{version}-%{release}
b6a886
Requires:       pkgconfig
b6a886
b6a886
b6a886
%description devel
b6a886
This package contains development files and documentation
b6a886
for %{name}.  Install this package if you want to develop
b6a886
plugins for %{name}.
b6a886
b6a886
b6a886
%prep
b6a886
%if 0%{verify_tarball_signature}
b6a886
tmphome="$(mktemp -d)"
b6a886
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
b6a886
%endif
b6a886
%autosetup -p1
b6a886
%if 0%{patches_touch_autotools}
b6a886
autoreconf -i
b6a886
%endif
b6a886
b6a886
%ifnarch %{complete_test_arches}
b6a886
# Simplify the test suite so it doesn't require qemu.
b6a886
sed -i -e '/^if HAVE_LIBGUESTFS/,/^endif HAVE_LIBGUESTFS/d' tests/Makefile.am
b6a886
sed -i -e '/^if HAVE_GUESTFISH/,/^endif HAVE_GUESTFISH/d' tests/Makefile.am
b6a886
automake
b6a886
%endif
b6a886
b6a886
# Disable numerous tests which cannot work with ancient gnutls or
b6a886
# qemu-img on RHEL 7.
b6a886
for f in tests/test-cache.sh \
b6a886
         tests/test-cow.sh \
b6a886
         tests/test-data-7E.sh \
b6a886
         tests/test-data-file.sh \
b6a886
         tests/test-data-raw.sh \
b6a886
         tests/test-floppy.sh \
b6a886
         tests/test-fua.sh \
b6a886
         tests/test-iso.sh \
b6a886
         tests/test-log.sh \
b6a886
         tests/test-memory-largest-for-qemu.sh \
b6a886
         tests/test-offset2.sh \
b6a886
         tests/test-parallel-file.sh \
b6a886
         tests/test-parallel-nbd.sh \
b6a886
         tests/test-partitioning2.sh \
b6a886
         tests/test-partitioning3.sh \
b6a886
         tests/test-pattern.sh \
b6a886
         tests/test-pattern-largest-for-qemu.sh \
b6a886
         tests/test-truncate1.sh \
b6a886
         tests/test-truncate2.sh ; do
b6a886
    rm $f
b6a886
    touch $f
b6a886
    chmod +x $f
b6a886
done
b6a886
b6a886
# Patch doesn't set permissions correctly. XXX
b6a886
chmod +x tests/test-vddk.sh
b6a886
b6a886
b6a886
%build
b6a886
# Force immediate binding for hardened build for plugins.
b6a886
# https://bugzilla.redhat.com/show_bug.cgi?id=977446#c13
b6a886
export LDFLAGS="$LDFLAGS -Wl,-z,now"
b6a886
b6a886
# Build for Python 3 in a separate subdirectory.  Upstream does not
b6a886
# support srcdir!=builddir so copy the whole source.
b6a886
copy="$(mktemp -d)"
b6a886
cp -a . "$copy"
b6a886
mv "$copy" python3
b6a886
b6a886
%configure --disable-static --with-tls-priority=NORMAL \
b6a886
	--disable-lua \
b6a886
	--disable-perl \
b6a886
	--disable-ocaml \
b6a886
	--disable-ruby \
b6a886
	--without-curl \
b6a886
	--without-ext2 \
b6a886
	--without-libvirt \
b6a886
	--without-zlib \
b6a886
	--without-liblzma \
b6a886
	--without-libguestfs
b6a886
make %{?_smp_mflags}
b6a886
b6a886
%if 0%{?have_python3}
b6a886
pushd python3
b6a886
export PYTHON=%{_bindir}/python3
b6a886
%configure --disable-static --disable-lua --disable-perl --disable-ocaml --disable-ruby
b6a886
# Verify that it picked the correct version of Python
b6a886
# to avoid RHBZ#1404631 happening again silently.
b6a886
grep '^PYTHON_VERSION = 3' Makefile
b6a886
make %{?_smp_mflags}
b6a886
unset PYTHON
b6a886
popd
b6a886
%endif
b6a886
b6a886
b6a886
%install
b6a886
%make_install
b6a886
b6a886
pushd $RPM_BUILD_ROOT%{_libdir}/nbdkit/plugins/
b6a886
mv nbdkit-python-plugin.so nbdkit-python2-plugin.so
b6a886
# For backwards compatibility, "the" python plugin is Python 2.
b6a886
# Probably we will change this in future if Fedora switches
b6a886
# exclusively to Python 3.
b6a886
ln -s nbdkit-python2-plugin.so nbdkit-python-plugin.so
b6a886
popd
b6a886
b6a886
# Disable built-in filters but leave the empty directory.
b6a886
rm -r $RPM_BUILD_ROOT%{_libdir}/%{name}/filters/nbdkit-*-filter.so
b6a886
rm -r $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-*-filter.1*
b6a886
b6a886
# Delete libtool crap.
b6a886
find $RPM_BUILD_ROOT -name '*.la' -delete
b6a886
b6a886
# Delete the VDDK plugin on !x86 architectures since it is not
b6a886
# applicable there.
b6a886
%ifnarch %{ix86} x86_64
b6a886
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-vddk-plugin.so
b6a886
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-vddk-plugin.1*
b6a886
%endif
b6a886
b6a886
# Remove bash-completion (if it was built) because we don't want to
b6a886
# support it.
b6a886
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
b6a886
b6a886
# Remove some basic plugins which we don't want to support.  We may
b6a886
# add these back later if there is customer demand.
b6a886
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-floppy-plugin.so
b6a886
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-floppy-plugin.1*
b6a886
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-iso-plugin.so
b6a886
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-iso-plugin.1*
b6a886
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-sh-plugin.so
b6a886
rm $RPM_BUILD_ROOT%{_mandir}/man3/nbdkit-sh-plugin.3*
b6a886
b6a886
b6a886
%check
b6a886
# Workaround for broken libvirt (RHBZ#1138604).
b6a886
mkdir -p $HOME/.cache/libvirt
b6a886
b6a886
# Make sure we can see the debug messages (RHBZ#1230160).
b6a886
export LIBGUESTFS_DEBUG=1
b6a886
export LIBGUESTFS_TRACE=1
b6a886
b6a886
make check -j1 || {
b6a886
    cat tests/test-suite.log
b6a886
    exit 1
b6a886
  }
b6a886
b6a886
b6a886
%files
b6a886
%doc README
b6a886
%license LICENSE
b6a886
%{_sbindir}/nbdkit
b6a886
%dir %{_libdir}/%{name}
b6a886
%dir %{_libdir}/%{name}/plugins
b6a886
%dir %{_libdir}/%{name}/filters
b6a886
%{_mandir}/man1/nbdkit.1*
b6a886
b6a886
b6a886
%files basic-plugins
b6a886
%doc README
b6a886
%license LICENSE
b6a886
%{_libdir}/%{name}/plugins/nbdkit-data-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-file-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-memory-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-nbd-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-null-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-partitioning-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-pattern-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-random-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-split-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-streaming-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-zero-plugin.so
b6a886
%{_mandir}/man1/nbdkit-data-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-file-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-memory-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-nbd-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-null-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-partitioning-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-pattern-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-random-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-split-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-streaming-plugin.1*
b6a886
%{_mandir}/man1/nbdkit-zero-plugin.1*
b6a886
b6a886
b6a886
%files example-plugins
b6a886
%doc README
b6a886
%license LICENSE
b6a886
%{_libdir}/%{name}/plugins/nbdkit-example*-plugin.so
b6a886
%{_mandir}/man1/nbdkit-example*-plugin.1*
b6a886
b6a886
b6a886
%files plugin-python-common
b6a886
%doc README
b6a886
%license LICENSE
b6a886
%{_mandir}/man3/nbdkit-python-plugin.3*
b6a886
b6a886
b6a886
%files plugin-python2
b6a886
%{_libdir}/%{name}/plugins/nbdkit-python-plugin.so
b6a886
%{_libdir}/%{name}/plugins/nbdkit-python2-plugin.so
b6a886
b6a886
b6a886
%ifarch %{ix86} x86_64
b6a886
%files plugin-vddk
b6a886
%doc README
b6a886
%license LICENSE
b6a886
%{_libdir}/%{name}/plugins/nbdkit-vddk-plugin.so
b6a886
%{_mandir}/man1/nbdkit-vddk-plugin.1*
b6a886
%endif
b6a886
b6a886
b6a886
%files devel
b6a886
%doc OTHER_PLUGINS README TODO
b6a886
%license LICENSE
b6a886
# Include the source of the example plugins in the documentation.
b6a886
%doc plugins/example*/*.c
b6a886
#%doc plugins/example4/nbdkit-example4-plugin
b6a886
#%doc plugins/perl/example.pl
b6a886
#%doc plugins/python/example.py
b6a886
#%doc plugins/ruby/example.rb
b6a886
%{_includedir}/nbdkit-common.h
b6a886
%{_includedir}/nbdkit-filter.h
b6a886
%{_includedir}/nbdkit-plugin.h
b6a886
%{_mandir}/man1/nbdkit-captive.1*
b6a886
%{_mandir}/man3/nbdkit-filter.3*
b6a886
%{_mandir}/man3/nbdkit-plugin.3*
b6a886
%{_mandir}/man1/nbdkit-probing.1*
b6a886
%{_mandir}/man1/nbdkit-protocol.1*
b6a886
%{_mandir}/man1/nbdkit-service.1*
b6a886
%{_mandir}/man1/nbdkit-tls.1*
b6a886
%{_libdir}/pkgconfig/nbdkit.pc
b6a886
b6a886
b6a886
%changelog
dda0b2
* Fri Apr  3 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-4
dda0b2
- Remove workaround for ancient qemu-io
dda0b2
  resolves: rhbz#1820275
dda0b2
dda0b2
* Tue Oct  1 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-3
dda0b2
- Fix for CVE-2019-14850 denial of service due to premature opening
dda0b2
  of back-end connection
dda0b2
  resolves: rhbz#1757261
dda0b2
b6a886
* Wed Jun 26 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-2
b6a886
- Explicitly disable nbdkit-ext2-plugin in configure
b6a886
  resolves: rhbz#1724242
b6a886
b6a886
* Tue Nov 13 2018 Richard W.M. Jones <rjones@redhat.com> - 1.8.0-1
b6a886
- Rebase to upstream stable version 1.8.0.
b6a886
  resolves: rhbz#1621894
b6a886
b6a886
* Thu Nov 08 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.6-1.el7_6.2
b6a886
- Enhanced Python error reporting.
b6a886
  resolves: rhbz#1613946
b6a886
b6a886
* Fri Oct 12 2018 Pino Toscano <ptoscano@redhat.com> - 1.2.6-1.el7_6.1
b6a886
- Fix TLS priority. (RHBZ#1632220)
b6a886
b6a886
* Wed Aug  1 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.6-1
b6a886
- New stable version 1.2.6.
b6a886
b6a886
* Wed Jul 25 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-1
b6a886
- New stable version 1.2.5.
b6a886
- Enable VDDK plugin on x86-64 only.
b6a886
- Small refactorings in the spec file.
b6a886
b6a886
* Sun Jul  1 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-4
b6a886
- Add all upstream patches since 1.2.4 was released.
b6a886
b6a886
* Thu Jun 14 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-3
b6a886
- Fix use of autopatch/autosetup macros in prep section.
b6a886
b6a886
* Tue Jun 12 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-2
b6a886
- Add all upstream patches since 1.2.4 was released.
b6a886
- Drop example4 and tar plugins since they depend on Perl.
b6a886
b6a886
* Sat Jun  9 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-1
b6a886
- New stable version 1.2.4.
b6a886
- Remove upstream patches.
b6a886
- Enable tarball signatures.
b6a886
- Add upstream patch to fix tests when guestfish not available.
b6a886
b6a886
* Wed Jun  6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-1
b6a886
- New stable version 1.2.3.
b6a886
- Add patch to work around libvirt problem with relative socket paths.
b6a886
- Add patch to fix the xz plugin test with recent guestfish.
b6a886
- Fix version in VDDK plugin spec file.
b6a886
b6a886
* Sat Apr 21 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.2-1
b6a886
- New stable version 1.2.2.
b6a886
b6a886
* Fri Apr 20 2018 TomĂ¡Å¡ GolembiovskĂ½ <tgolembi@redhat.com> - 1.2.1-2
b6a886
- Fix link to sources
b6a886
b6a886
* Mon Apr  9 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.1-1
b6a886
- New stable version 1.2.1.
b6a886
b6a886
* Fri Apr  6 2018 Richard W.M. Jones <rjones@redhat.com> - 1.2.0-1
b6a886
- Move to stable branch version 1.2.0.
b6a886
- Escape macros in %%changelog
b6a886
- Run a simplified test suite on all arches.
b6a886
b6a886
* Thu Mar 15 2018 TomĂ¡Å¡ GolembiovskĂ½ <tgolembi@redhat.com> - 1.1.26-2
b6a886
- Enable python2 plugin.
b6a886
b6a886
* Sat Dec 23 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.26-1
b6a886
- New upstream version 1.1.26.
b6a886
- Add new pkg-config file and dependency.
b6a886
b6a886
* Wed Dec 06 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.25-1
b6a886
- New upstream version 1.1.25.
b6a886
b6a886
* Tue Dec 05 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.24-1
b6a886
- New upstream version 1.1.24.
b6a886
- Add tar plugin (new subpackage nbdkit-plugin-tar).
b6a886
b6a886
* Tue Dec 05 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.23-1
b6a886
- New upstream version 1.1.23.
b6a886
- Add example4 plugin.
b6a886
- Python3 tests require libguestfs so disable on s390x.
b6a886
b6a886
* Sun Dec 03 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.22-1
b6a886
- New upstream version 1.1.22.
b6a886
- Enable tests on Fedora.
b6a886
b6a886
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.20-1
b6a886
- New upstream version 1.1.20.
b6a886
- Add nbdkit-split-plugin to basic plugins.
b6a886
b6a886
* Sat Dec 02 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.19-2
b6a886
- OCaml 4.06.0 rebuild.
b6a886
b6a886
* Thu Nov 30 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.19-1
b6a886
- New upstream version 1.1.19.
b6a886
- Combine all the simple plugins in %%{name}-basic-plugins.
b6a886
- Add memory and null plugins.
b6a886
- Rename the example plugins subpackage.
b6a886
- Use %%license instead of %%doc for license file.
b6a886
- Remove patches now upstream.
b6a886
b6a886
* Wed Nov 29 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.18-4
b6a886
- Fix Python 3 builds / RHEL macros (RHBZ#1404631).
b6a886
b6a886
* Tue Nov 21 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.18-3
b6a886
- New upstream version 1.1.18.
b6a886
- Add NBD forwarding plugin.
b6a886
- Add libselinux-devel so that SELinux support is enabled in the daemon.
b6a886
- Apply all patches from upstream since 1.1.18.
b6a886
b6a886
* Fri Oct 20 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.16-2
b6a886
- New upstream version 1.1.16.
b6a886
- Disable python3 plugin on RHEL/EPEL <= 7.
b6a886
- Only ship on x86_64 in RHEL/EPEL <= 7.
b6a886
b6a886
* Wed Sep 27 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.15-1
b6a886
- New upstream version 1.1.15.
b6a886
- Enable TLS support.
b6a886
b6a886
* Fri Sep 01 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.14-1
b6a886
- New upstream version 1.1.14.
b6a886
b6a886
* Fri Aug 25 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.13-1
b6a886
- New upstream version 1.1.13.
b6a886
- Remove patches which are all upstream.
b6a886
- Remove grubby hack, should not be needed with modern supermin.
b6a886
b6a886
* Sat Aug 19 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-13
b6a886
- Rebuild for OCaml 4.05.0.
b6a886
b6a886
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-12
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b6a886
b6a886
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-11
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b6a886
b6a886
* Tue Jun 27 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-10
b6a886
- Rebuild for OCaml 4.04.2.
b6a886
b6a886
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.12-9
b6a886
- Perl 5.26 rebuild
b6a886
b6a886
* Mon May 15 2017 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-8
b6a886
- Rebuild for OCaml 4.04.1.
b6a886
b6a886
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-7
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b6a886
b6a886
* Thu Jan 12 2017 VĂ­t Ondruch <vondruch@redhat.com> - 1.1.12-6
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4
b6a886
b6a886
* Fri Dec 23 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-5
b6a886
- Rebuild for Python 3.6 update.
b6a886
b6a886
* Wed Dec 14 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-4
b6a886
- Fix python3 subpackage so it really uses python3 (RHBZ#1404631).
b6a886
b6a886
* Sat Nov 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-3
b6a886
- Rebuild for OCaml 4.04.0.
b6a886
b6a886
* Mon Oct 03 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-2
b6a886
- Compile Python 2 and Python 3 versions of the plugin.
b6a886
b6a886
* Wed Jun 08 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.12-1
b6a886
- New upstream version 1.1.12
b6a886
- Enable Ruby plugin.
b6a886
- Disable tests on Rawhide because libvirt is broken again (RHBZ#1344016).
b6a886
b6a886
* Wed May 25 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-10
b6a886
- Add another upstream patch since 1.1.11.
b6a886
b6a886
* Mon May 23 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-9
b6a886
- Add all patches upstream since 1.1.11 (fixes RHBZ#1336758).
b6a886
b6a886
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.11-7
b6a886
- Perl 5.24 rebuild
b6a886
b6a886
* Wed Mar 09 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-6
b6a886
- When tests fail, dump out test-suite.log so we can debug it.
b6a886
b6a886
* Fri Feb 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-5
b6a886
- Don't run tests on x86, because kernel is broken there
b6a886
  (https://bugzilla.redhat.com/show_bug.cgi?id=1302071)
b6a886
b6a886
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-4
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b6a886
b6a886
* Mon Jan 11 2016 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-3
b6a886
- Add support for newstyle NBD protocol (RHBZ#1297100).
b6a886
b6a886
* Sat Oct 31 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.11-1
b6a886
- New upstream version 1.1.11.
b6a886
b6a886
* Thu Jul 30 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-3
b6a886
- OCaml 4.02.3 rebuild.
b6a886
b6a886
* Sat Jun 20 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-2
b6a886
- Enable libguestfs plugin on aarch64.
b6a886
b6a886
* Fri Jun 19 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.10-1
b6a886
- New upstream version.
b6a886
- Enable now working OCaml plugin (requires OCaml >= 4.02.2).
b6a886
b6a886
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.9-6
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b6a886
b6a886
* Thu Jun 11 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.9-5
b6a886
- Perl 5.22 rebuild
b6a886
b6a886
* Wed Jun 10 2015 Richard W.M. Jones <rjones@redhat.com> - 1.1.9-4
b6a886
- Enable debugging messages when running make check.
b6a886
b6a886
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.9-3
b6a886
- Perl 5.22 rebuild
b6a886
b6a886
* Tue Oct 14 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.9-2
b6a886
- New upstream version 1.1.9.
b6a886
- Add the streaming plugin.
b6a886
- Include fix for streaming plugin in 1.1.9.
b6a886
b6a886
* Wed Sep 10 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.8-4
b6a886
- Rebuild for updated Perl in Rawhide.
b6a886
- Workaround for broken libvirt (RHBZ#1138604).
b6a886
b6a886
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-2
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b6a886
b6a886
* Sat Jun 21 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.8-1
b6a886
- New upstream version 1.1.8.
b6a886
- Add support for cURL, and new nbdkit-plugin-curl package.
b6a886
b6a886
* Fri Jun 20 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-1
b6a886
- New upstream version 1.1.7.
b6a886
- Remove patches which are now all upstream.
b6a886
b6a886
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-5
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b6a886
b6a886
* Thu Mar 06 2014 Dan HorĂ¡k <dan[at]danny.cz> - 1.1.6-4
b6a886
- libguestfs is available only on selected arches
b6a886
b6a886
* Fri Feb 21 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-3
b6a886
- Backport some upstream patches, fixing a minor bug and adding more tests.
b6a886
- Enable the tests since kernel bug is fixed.
b6a886
b6a886
* Sun Feb 16 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-1
b6a886
- New upstream version 1.1.6.
b6a886
b6a886
* Sat Feb 15 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.5-2
b6a886
- New upstream version 1.1.5.
b6a886
- Enable the new Python plugin.
b6a886
- Perl plugin man page moved to section 3.
b6a886
- Perl now requires ExtUtils::Embed.
b6a886
b6a886
* Mon Feb 10 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.4-1
b6a886
- New upstream version 1.1.4.
b6a886
- Enable the new Perl plugin.
b6a886
b6a886
* Sun Aug  4 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.3-1
b6a886
- New upstream version 1.1.3 which fixes some test problems.
b6a886
- Disable tests because Rawhide kernel is broken (RHBZ#991808).
b6a886
- Remove a single quote from description which confused emacs.
b6a886
- Remove patch, now upstream.
b6a886
b6a886
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
b6a886
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b6a886
b6a886
* Sun Jul 21 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-3
b6a886
- Fix segfault when IPv6 client is used (RHBZ#986601).
b6a886
b6a886
* Tue Jul 16 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-2
b6a886
- New development version 1.1.2.
b6a886
- Disable the tests on Fedora <= 18.
b6a886
b6a886
* Tue Jun 25 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.1-1
b6a886
- New development version 1.1.1.
b6a886
- Add libguestfs plugin.
b6a886
- Run the test suite.
b6a886
b6a886
* Mon Jun 24 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
b6a886
- Initial release.