[packages/libxml2] - drop dead ftp bcond (FTP removed in 2.14.0) and stale -devel R: xz-devel (LZMA removed) - zlib Req
arekm
arekm at pld-linux.org
Fri Oct 9 11:40:34 CEST 2026
commit 7d9a4c4051838974a25b611882e6df8207f53b05
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Oct 9 11:39:53 2026 +0200
- drop dead ftp bcond (FTP removed in 2.14.0) and stale -devel R: xz-devel (LZMA removed)
- zlib Requires under zlib bcond
libxml2.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/libxml2.spec b/libxml2.spec
index e0a3739..adf45d3 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -3,7 +3,6 @@
#
# Conditional build:
%bcond_without apidocs # API documentation
-%bcond_with ftp # FTP support
%bcond_without legacy # legacy API support
%bcond_without python3 # CPython 3.x module
%bcond_without static_libs # static library
@@ -61,7 +60,7 @@ BuildRequires: xz
# history support in xmllint is disabled by default
#BuildRequires: ncurses-devel
#BuildRequires: readline-devel >= 4.2
-Requires: zlib >= 1.2.3.3
+%{?with_zlib:Requires: zlib >= 1.2.3.3}
Obsoletes: xml-common
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -84,8 +83,7 @@ Summary(pl.UTF-8): Pliki nagłówkowe i inne do libxml2
Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações que usem a biblioteca libxml
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
-Requires: xz-devel
-Requires: zlib-devel
+%{?with_zlib:Requires: zlib-devel}
%description devel
Header files etc you can use to develop libxml2 applications.
@@ -187,7 +185,6 @@ do biblioteki libxml2.
--disable-silent-rules \
%{?with_static_libs:--enable-static} \
%{?with_apidocs:--with-docs} \
- %{?with_ftp:--with-ftp} \
--with-http \
%{?with_legacy:--with-legacy} \
--without-python \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libxml2.git/commitdiff/7d9a4c4051838974a25b611882e6df8207f53b05
More information about the pld-cvs-commit
mailing list