Re: BuildRequires: redhat-rpm-config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
has:

%files -n python-%{name}
%doc python/examples/*.py
%{python_sitearch}/*
%{python_sitelib}/*.py
%{python_sitelib}/*.pyc
%{python_sitelib}/*.pyo

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

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux