default python spec template: python_sitelib vs python_sitearch

Konstantin Ryabitsev icon at fedoraproject.org
Mon Jan 9 18:51:39 UTC 2006


On Mon, 2006-09-01 at 21:47 +0330, Roozbeh Pournader wrote:
> On Mon, 2006-01-09 at 12:46 -0500, Konstantin Ryabitsev wrote:
> > Only .so files and friends should go to %{python_sitearch} -- so if you
> > have platform-independent files they should still go to
> > %{python_sitelib} even if you have other, platform-specific files.
> 
> So, should one use double %dir definitions also in such cases? Something
> like the following?
> 
> %dir %{python_sitelib}/module
> %{python_sitelib}/module/*.po
> ...
> %dir %{python_sitearch}/module
> %{python_sitearch}/module/_module.so

Yes. Hmm, wait, does this generate "duplicate entries" warning?

Regards,
-- 
Konstantin Ryabitsev
McGill University WSG

Jayne: "... and if wishes were horses we'd all be eating steak!"





More information about the fedora-extras-list mailing list