rpms/scons/devel scons.spec,1.3,1.4

Michael Schwendt fedora at wir-sind-cool.org
Tue Jan 25 20:02:44 UTC 2005


On Tue, 25 Jan 2005 20:21:42 +0100, Matthias Saou wrote:

> > -python setup.py build
> > +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
> 
> This is a noarch package, CFLAGS="$RPM_OPT_FLAGS" is definitely not needed
> ;-)

Not needed, not used => not a blocker criterion => copying from
universal spec templates does no harm here.

> > -%{_libdir}/scons
> > +%{_prefix}/lib/scons
> 
> Shouldn't this use the sysconfig.get_python_lib(foo) trick (that Ville
> showed me) to get the arch independant python lib path instead?

No. You cannot get /usr/lib/scons via that method, but only the
arch-dependent or arch-independent site-packages path.




More information about the fedora-extras-commits mailing list