!265 add configure options, fix some interfaces compile without installation issues

From: @zhangzikang1992 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-12-02 07:05:29 +00:00 committed by Gitee
commit 26a2129594
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Summary: Library providing XML and HTML support Summary: Library providing XML and HTML support
Name: libxml2 Name: libxml2
Version: 2.11.5 Version: 2.11.5
Release: 5 Release: 6
License: MIT License: MIT
Group: Development/Libraries Group: Development/Libraries
Source: https://download.gnome.org/sources/%{name}/2.11/%{name}-%{version}.tar.xz Source: https://download.gnome.org/sources/%{name}/2.11/%{name}-%{version}.tar.xz
@ -95,7 +95,7 @@ sed -i 's|#!/usr/bin/python |#!%{__python3} |' py3doc/*.py
find doc -type f -exec chmod 0644 \{\} \; find doc -type f -exec chmod 0644 \{\} \;
%install %install
%configure --with-python=%{__python3} %configure --with-python=%{__python3} --with-xptr-locs --with-legacy
%make_install %make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@ -164,6 +164,12 @@ rm -fr %{buildroot}
%changelog %changelog
* Wed Nov 27 2024 zhangzikang <zhangzikang@kylinos.cn> - 2.11.5-6
- Type:update
- ID:NA
- SUG:NA
- DESC:add configure options, fix some interfaces compile without installation issues
* Fri Oct 18 2024 zhangzikang <zhangzikang@kylinos.cn> - 2.11.5-5 * Fri Oct 18 2024 zhangzikang <zhangzikang@kylinos.cn> - 2.11.5-5
- Type:update - Type:update
- ID:NA - ID:NA