[lxc-devel] [PATCH 3/3] Catch the python packages when building them.

Michael H. Warfield mhw at WittsEnd.com
Thu Dec 19 16:38:53 UTC 2013


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 <mhw at WittsEnd.com>
---
 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 |  mhw at WittsEnd.com
   /\/\|=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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131219/d6d5cf0b/attachment.pgp>


More information about the lxc-devel mailing list