]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Catch the python packages when building them.
authorMichael H. Warfield <mhw@WittsEnd.com>
Thu, 19 Dec 2013 16:38:53 +0000 (11:38 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 19 Dec 2013 21:19:30 +0000 (22:19 +0100)
If we have "with_python" we want to add the resulting packages to
the resulting rpm.

Signed-off-by: Michael H. Warfield <mhw@WittsEnd.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
lxc.spec.in

index 763ce51a845822c5ec2b23166d37e03b0fa5707a..6814ad70559e0aeccabab3dda79ae6c6cfb6a2a7 100644 (file)
@@ -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)