Fix python-libxml2 install path 68/196368/1 accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix sandbox/backup/libxml2_2.9.7_20191018 tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv accepted/tizen/5.5/base/20191030.082724 accepted/tizen/5.5/base/mobile/hotfix/20201023.084714 accepted/tizen/5.5/base/wearable/hotfix/20201023.081049 accepted/tizen/base/20190111.055026 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_base/20190102.002103 submit/tizen_base/20190102.080246 tizen_5.5.m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 28 Dec 2018 00:55:01 +0000 (09:55 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 28 Dec 2018 00:55:01 +0000 (09:55 +0900)
[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

index 3719e56..7380a41 100644 (file)
@@ -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