default python spec template: python_sitelib vs python_sitearch

Roozbeh Pournader roozbeh at farsiweb.info
Mon Jan 9 18:17:28 UTC 2006


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

roozbeh





More information about the fedora-extras-list mailing list