From e4585a85ec4cfe96b1f4b88952f05c6cbada14cf Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Mon, 7 Aug 2023 16:21:34 +0800 Subject: [PATCH] update doc/example file (cherry picked from commit eb08f2a86a92e01915b1d3da2fbe1ffbefc3e718) --- libxml2.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/libxml2.spec b/libxml2.spec index 11a4a43..6a221e1 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -1,7 +1,7 @@ Summary: Library providing XML and HTML support Name: libxml2 Version: 2.11.4 -Release: 2 +Release: 3 License: MIT Group: Development/Libraries Source: https://download.gnome.org/sources/%{name}/2.11/%{name}-%{version}.tar.xz @@ -83,7 +83,7 @@ sed -i 's|#!/usr/bin/python |#!%{__python3} |' py3doc/*.py %build ./autogen.sh -%configure +%configure --enable-static %make_build find doc -type f -exec chmod 0644 \{\} \; @@ -97,15 +97,17 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-%{version}/* rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-python-%{version}/* -(cd doc/examples ; make clean ; rm -rf .deps) gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz %check make runtests +(cd doc/examples ; make clean ; rm -rf .deps Makefile) + %clean rm -fr %{buildroot} + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -138,6 +140,8 @@ rm -fr %{buildroot} %{_libdir}/pkgconfig/libxml-2.0.pc %{_libdir}/cmake/libxml2/libxml2-config.cmake +%{_libdir}/*.a + %files -n python3-%{name} %defattr(-, root, root) @@ -154,6 +158,12 @@ rm -fr %{buildroot} %changelog +* Mon Aug 07 2023 zhuofeng - 2.11.4-3 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:update doc/example file and libxml2.a + * Mon Aug 07 2023 zhuofeng - 2.11.4-2 - Type:bugfix - CVE:NA -- Gitee