[packages/libxml2] Up to 2.14.4 (soname change)

arekm arekm at pld-linux.org
Tue Jun 17 09:52:59 CEST 2025


commit d7b70db7d4b5cec14e6124ce1dc6ce9272de9632
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jun 17 08:42:04 2025 +0200

    Up to 2.14.4 (soname change)

 libxml2-libx32.patch | 10 +++++-----
 libxml2.spec         |  9 ++++-----
 2 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/libxml2.spec b/libxml2.spec
index 13d5d14..65bf8e9 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -16,14 +16,14 @@ Summary(es.UTF-8):	Biblioteca libXML version 2
 Summary(pl.UTF-8):	Biblioteka libXML wersja 2
 Summary(pt_BR.UTF-8):	Biblioteca libXML versão 2
 Name:		libxml2
-Version:	2.13.8
+Version:	2.14.4
 Release:	1
 Epoch:		1
 License:	MIT
 Group:		Libraries
 #Source0:	ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
-Source0:	https://download.gnome.org/sources/libxml2/2.13/%{name}-%{version}.tar.xz
-# Source0-md5:	740751403c075e55812ecaaafe9d495f
+Source0:	https://download.gnome.org/sources/libxml2/2.14/%{name}-%{version}.tar.xz
+# Source0-md5:	b35aecdbed333b6dbedb6d96d05fabc3
 Patch0:		%{name}-open.gz.patch
 Patch1:		%{name}-largefile.patch
 Patch2:		%{name}-libx32.patch
@@ -263,7 +263,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Copyright NEWS README.md
 %attr(755,root,root) %{_libdir}/libxml2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libxml2.so.2
+%attr(755,root,root) %ghost %{_libdir}/libxml2.so.16
 %dir %{_sysconfdir}/xml
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xml/catalog
 
@@ -274,7 +274,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libxml2.la
 %{_libdir}/cmake/libxml2
 %{_pkgconfigdir}/libxml-2.0.pc
-%{_aclocaldir}/libxml.m4
 %{_includedir}/libxml2
 %{_mandir}/man1/xml2-config.1*
 
diff --git a/libxml2-libx32.patch b/libxml2-libx32.patch
index 70cd4bf..83bac01 100644
--- a/libxml2-libx32.patch
+++ b/libxml2-libx32.patch
@@ -1,11 +1,11 @@
---- libxml2-2.10.0/xml2-config.in.orig	2022-08-18 16:32:47.652266712 +0200
-+++ libxml2-2.10.0/xml2-config.in	2022-08-18 16:33:48.715269239 +0200
+--- libxml2-2.14.4/xml2-config.in~	2025-06-16 19:03:54.000000000 +0200
++++ libxml2-2.14.4/xml2-config.in	2025-06-17 08:32:58.645043994 +0200
 @@ -89,7 +89,7 @@ while test $# -gt 0; do
-             libs="@XML_LIBS@ @XML_PRIVATE_LIBS@ @MODULE_PLATFORM_LIBS@ @LIBS@"
+             libs="@XML_LIBS@ @XML_PRIVATE_LIBS@ @LIBS@"
          fi
  
--        if [ "@XML_LIBDIR@" != "-L/usr/lib" -a "@XML_LIBDIR@" != "-L/usr/lib64" ]; then
-+        if [ "@XML_LIBDIR@" != "-L/usr/lib" -a "@XML_LIBDIR@" != "-L/usr/lib64" -a "@XML_LIBDIR@" != "-L/usr/libx32" ]; then
+-        if [ "@libdir@" != "/usr/lib" -a "@libdir@" != "/usr/lib64" ]; then
++        if [ "@libdir@" != "/usr/lib" -a "@libdir@" != "/usr/lib64" -a "@XML_LIBDIR@" != "-L/usr/libx32" ]; then
              libs="@XML_LIBDIR@ $libs"
          fi
          ;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxml2.git/commitdiff/d7b70db7d4b5cec14e6124ce1dc6ce9272de9632



More information about the pld-cvs-commit mailing list