BuildRequires: redhat-rpm-config

Richard W.M. Jones rjones at
Thu Nov 14 14:18:05 UTC 2013

On Thu, Nov 14, 2013 at 05:36:34PM +0800, Mathieu Bridon wrote:
> For example, if right now you have:
>     %dir %{python_sitelib}/mymodule
>     %{python_sitelib}/mymodule/*.py
>     %{python_sitelib}/mymodule/*.pyc
>     %{python_sitelib}/mymodule/*.pyo
> You could replace that by:
>     %{python_sitelib}/mymodule

Unfortunately the Python files are placed directly in
%{python_sitelib} (not in a module subdirectory).  ie: the spec file

%files -n python-%{name}
%doc python/examples/*.py

I have no idea if this packaging is correct or not.


Richard Jones, Virtualization Group, Red Hat
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

More information about the devel mailing list