add configure options, fix some interfaces compile without installation issues
This commit is contained in:
parent
7f89e7e074
commit
196073ea4c
10
libxml2.spec
10
libxml2.spec
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user