forked from pool/python
Enable system libexpat
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=413
This commit is contained in:
@@ -170,6 +170,7 @@ Patch80: CVE-2022-48566-compare_digest-more-constant.patch
|
|||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
# This is NOT switching off NIS support on SLE < 15,
|
# This is NOT switching off NIS support on SLE < 15,
|
||||||
# support for NIS used to be in the glibc itself
|
# support for NIS used to be in the glibc itself
|
||||||
@@ -363,6 +364,7 @@ touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
|
|||||||
--docdir=%{_docdir}/python \
|
--docdir=%{_docdir}/python \
|
||||||
--with-fpectl \
|
--with-fpectl \
|
||||||
--with-system-ffi \
|
--with-system-ffi \
|
||||||
|
--with-system-expat \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-unicode=ucs4
|
--enable-unicode=ucs4
|
||||||
@@ -484,6 +486,8 @@ ln -s python%{python_version}.1.gz %{buildroot}%{_mandir}/man1/python.1.gz
|
|||||||
# install Makefile.pre.in and Makefile.pre
|
# install Makefile.pre.in and Makefile.pre
|
||||||
cp Makefile Makefile.pre.in Makefile.pre %{buildroot}%{_libdir}/python%{python_version}/config/
|
cp Makefile Makefile.pre.in Makefile.pre %{buildroot}%{_libdir}/python%{python_version}/config/
|
||||||
|
|
||||||
|
%clean
|
||||||
|
|
||||||
%post -n libpython2_7-1_0 -p %{run_ldconfig}
|
%post -n libpython2_7-1_0 -p %{run_ldconfig}
|
||||||
%postun -n libpython2_7-1_0 -p %{run_ldconfig}
|
%postun -n libpython2_7-1_0 -p %{run_ldconfig}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user