Skip to content

Commit

Permalink
[python3-lxml] Fix building with aarch64 multilib. JB#49761
Browse files Browse the repository at this point in the history
Signed-off-by: Matti Kosola <matti.kosola@jolla.com>
  • Loading branch information
mkosola committed May 20, 2020
1 parent 1e91cbf commit 8e295d7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rpm/python3-lxml.spec
@@ -1,6 +1,3 @@
# fixme: should be defined in base system side
%define python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")

Name: python3-lxml
Summary: ElementTree-like Python bindings for libxml2 and libxslt
Version: 5.5.0
Expand All @@ -26,11 +23,11 @@ unlike the default bindings.
%setup -q -n %{name}-%{version}/lxml

%build
CFLAGS="%{optflags}" %{__python3} setup.py build %{?_smp_mflags}
%py3_build

%install
rm -rf %{buildroot}
%{__python3} setup.py install --skip-build --root %{buildroot}
%py3_install

%files
%defattr(-,root,root,-)
Expand Down

0 comments on commit 8e295d7

Please sign in to comment.