]> 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)
committerEvgeni Golov <evgeni@debian.org>
Sat, 29 Oct 2016 18:29:08 +0000 (20:29 +0200)
Closes: #502
Signed-off-by: Evgeni Golov <evgeni@debian.org>
lxc.spec.in

index bd771760c60e666f323653e9a2fbe548557db5f4..d52259e1f0559a26c72e97eaf11b8e30eea7d45c 100644 (file)
@@ -269,9 +269,6 @@ fi
 %{_sbindir}/*
 %{_libdir}/*.so.*
 %{_libdir}/%{name}
-%if %{with_python}
-%{_libdir}/python*
-%endif
 %{_localstatedir}/*
 %{_libexecdir}/%{name}
 %attr(4111,root,root) %{_libexecdir}/%{name}/lxc-user-nic
@@ -281,8 +278,7 @@ fi
 %endif
 
 %if %{with_python}
-%{_libdir}/python3.3/site-packages/_lxc*
-%{_libdir}/python3.3/site-packages/lxc/*
+%{python3_sitearch}/*
 %endif
 
 %if %{with_lua}