]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
use python3_sitearch for including the python code
authorEvgeni Golov <evgeni@debian.org>
Sat, 29 Oct 2016 18:29:08 +0000 (20:29 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 18 Nov 2016 01:33:14 +0000 (20:33 -0500)
Closes: #502
Signed-off-by: Evgeni Golov <evgeni@debian.org>
lxc.spec.in

index d41788f5fa47b873b479d430321df1fb9a9bfc7a..5a1e410a044173df080de656e8437289b7d3bef3 100644 (file)
@@ -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}