On Thu, Nov 14, 2013 at 02:18:05PM +0000, Richard W.M. Jones wrote:
> 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.
>
That is a somewhat odd split (somethings in sitearch and some things in
sitelib)....
If there's nothing else in python_sitelib besides this module, you can
change the glob there:
%{python_sitearch}/*
%{python_sitelib}/*
I'd have to look at the actual package to know whether that would cause
problems.
-Toshio
pgprVcRMt2Iwt.pgp
Description: PGP signature
-- devel mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
