From: Evgeni Golov Date: Sat, 29 Oct 2016 18:29:08 +0000 (+0200) Subject: use python3_sitearch for including the python code X-Git-Tag: lxc-1.0.9~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f0ae31f2706e8f4eb696e17c486600cae28b068;p=thirdparty%2Flxc.git use python3_sitearch for including the python code Closes: #502 Signed-off-by: Evgeni Golov --- diff --git a/lxc.spec.in b/lxc.spec.in index d41788f5f..5a1e410a0 100644 --- a/lxc.spec.in +++ b/lxc.spec.in @@ -147,9 +147,6 @@ rm -rf %{buildroot} %{_sbindir}/* %{_libdir}/*.so.* %{_libdir}/%{name} -%if %{with_python} -%{_libdir}/python* -%endif %{_localstatedir}/* %{_libexecdir}/%{name} %attr(4111,root,root) %{_libexecdir}/%{name}/lxc-user-nic @@ -159,8 +156,7 @@ rm -rf %{buildroot} %endif %if %{with_python} -%{_libdir}/python3.3/site-packages/_lxc* -%{_libdir}/python3.3/site-packages/lxc/* +%{python3_sitearch}/* %endif %if %{with_lua}