default python spec template: python_sitelib vs python_sitearch

Roozbeh Pournader roozbeh at farsiweb.info
Mon Jan 9 19:14:25 UTC 2006


On Mon, 2006-01-09 at 13:51 -0500, Konstantin Ryabitsev wrote:
> > 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?

Yes, it does. Should I ignore the warning or is there a recommended way
to avoid it? (I can only think of a conditional to compare the two
python_site* macros and only define the second %dir if they were
different.)

roozbeh





More information about the fedora-extras-list mailing list