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 <[email protected]>
---
 lxc.spec.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lxc.spec.in b/lxc.spec.in
index 763ce51..6814ad7 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)
-- 
1.8.3.1


-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  [email protected]
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to