From 58d6a17e028fe84d5055f6e43955d4d45bbb89e3 Mon Sep 17 00:00:00 2001 From: "Michael H. Warfield" Date: Thu, 19 Dec 2013 11:38:53 -0500 Subject: [PATCH] Catch the python packages when building them. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- lxc.spec.in | 5 +++++ 1 file changed, 5 insertions(+) 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)