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@WittsEnd.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Michael H. Warfield 2013-12-19 11:38:53 -05:00 committed by Stéphane Graber
parent a6adab20ff
commit 58d6a17e02

View 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)