From 08fa200b5e50edd752f35f20d7488182fc1e1497 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Fri, 28 Dec 2018 09:55:01 +0900 Subject: [PATCH] Fix python-libxml2 install path [Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] import error at python 2.7.15 [Cause & Measure] [Checking Method] [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I7fe13aa155056e0dfe72d5fd6ec8343f50554942 --- packaging/python-libxml2.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/python-libxml2.spec b/packaging/python-libxml2.spec index 3719e56..7380a41 100644 --- a/packaging/python-libxml2.spec +++ b/packaging/python-libxml2.spec @@ -47,20 +47,20 @@ make -C python %{?_smp_mflags} %install make -C python install \ DESTDIR=%{buildroot} \ - pythondir=%{py_sitedir} \ - PYTHON_SITE_PACKAGES=%{py_sitedir} + pythondir=%{python_sitelib} \ + PYTHON_SITE_PACKAGES=%{python_sitelib} chmod a-x python/tests/*.py # Unwanted doc stuff rm -fr %{buildroot}%{_datadir}/doc rm -f python/tests/Makefile* # #223696 -rm -f %{buildroot}%{py_sitedir}/*.{la,a} +rm -f %{buildroot}%{python_sitelib}/*.{la,a} %files %defattr(-, root, root) %license Copyright %doc python/libxml2class.txt %doc python/tests -%{py_sitedir}/* +%{python_sitelib}/* %changelog -- 2.7.4