Mailinglist Archive: opensuse-packaging (250 mails)

< Previous Next >
Re: [opensuse-packaging] python modules as noarch
  • From: Pavol Rusnak <prusnak@xxxxxxx>
  • Date: Wed, 05 Aug 2009 14:48:53 +0200
  • Message-id: <4A797FB5.50008@xxxxxxx>
Jan Matejek wrote:
Such packages need to be changed - either by using --record-rpm, or if
that is not possible, using the new macros adopted from Fedora.
%python_sitelib points to /usr/lib/python2.6/site-packages
%python_sitearch is /usr/lib64/python2.6/site-packages (same thing as
%py_sitelib, actually).

Simply put, these 3 macros should be used in python packages' spec files
from now on (once the new python is checked in to Factory):

* %python_sitelib (for noarch packages)
* %python_sitearch (for arch dependent packages)
* %python_version (usually not needed)

They will get merged into upstream RPM eventually: http://rpm.org/ticket/83

--
Best Regards / S pozdravom,

Pavol RUSNAK SUSE LINUX, s.r.o
openSUSE Community Multiplier Team Lihovarska 1060/12
PGP 0xA6917144 19000 Praha 9, CR
prusnak[at]suse.cz http://www.suse.cz
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
References