[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
%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