[packages/nbdkit] enable use of zlib-ng

atler atler at pld-linux.org
Thu Mar 13 13:45:40 CET 2025


commit a9a571eebf15ba0c69dcb0c48fc9022f150c5d19
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 13 12:40:10 2025 +0100

    enable use of zlib-ng
    
    only qcow2dec filter makes use of it so far. gzip filter still relies on
    zlib.

 nbdkit.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/nbdkit.spec b/nbdkit.spec
index 5a79dde..5447b92 100644
--- a/nbdkit.spec
+++ b/nbdkit.spec
@@ -1,5 +1,4 @@
 # TODO:
-# - zlib-ng?
 # --enable-valgrind (valgrind extensions)?
 #
 # Conditional build:
@@ -68,6 +67,7 @@ BuildRequires:	sed >= 4.0
 %{?with_tcl:BuildRequires:	tcl-devel >= 8.6}
 BuildRequires:	xz-devel
 BuildRequires:	zlib-devel >= 1.2.3.5
+BuildRequires:	zlib-ng-devel
 BuildRequires:	zstd-devel
 Requires:	gnutls-libs >= 3.5.18
 Obsoletes:	nbdkit-plugin-ruby < 1.40.0
@@ -266,8 +266,7 @@ Plik nagłówkowy dla wtyczek nbdkit.
 	%{!?with_libblkio:--without-libblkio} \
 	%{!?with_vddk:--without-vddk} \
 	%{!?with_guestfs:--without-libguestfs} \
-	%{!?with_libvirt:--without-libvirt} \
-	--without-zlib-ng
+	%{!?with_libvirt:--without-libvirt}
 
 %{__make} \
 	INSTALLDIRS=vendor
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nbdkit.git/commitdiff/ba3fdde1d5633fb56d50aef4f1c3e85476b40750



More information about the pld-cvs-commit mailing list