From: Michael H. Warfield Date: Thu, 19 Dec 2013 16:38:53 +0000 (-0500) Subject: Catch the python packages when building them. X-Git-Tag: lxc-1.0.0.beta2~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58d6a17e028fe84d5055f6e43955d4d45bbb89e3;p=thirdparty%2Flxc.git Catch the python packages when building them. If we have "with_python" we want to add the resulting packages to the resulting rpm. Signed-off-by: Michael H. Warfield Acked-by: Stéphane Graber --- diff --git a/lxc.spec.in b/lxc.spec.in index 763ce51a8..6814ad705 100644 --- a/lxc.spec.in +++ b/lxc.spec.in @@ -149,6 +149,11 @@ rm -rf %{buildroot} %attr(4555,root,root) %{_libexecdir}/%{name}/lxc-init %attr(555,root,root) %{_libexecdir}/%{name}/lxc-devsetup +%if %{with_python} +%{_libdir}/python3.3/site-packages/_lxc* +%{_libdir}/python3.3/site-packages/lxc/* +%endif + %if %{with_lua} %files lua %defattr(-,root,root)