[lxc-devel] [PATCH 3/3] Catch the python packages when building them.
Stéphane Graber
stgraber at ubuntu.com
Thu Dec 19 21:18:45 UTC 2013
On Thu, Dec 19, 2013 at 11:38:53AM -0500, Michael H. Warfield wrote:
> 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>
Acked-by: Stéphane Graber <stgraber at ubuntu.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!
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131219/12f9a334/attachment.pgp>
More information about the lxc-devel
mailing list