Le mercredi 26 mai 2010 13:46:20, Ratnadeep Debnath a écrit :
On Wed, May 26, 2010 at 2:05 PM, Chen Lei
<supercyper1(a)gmail.com> wrote:
> CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-lm" waf configure
--prefix=%{_prefix}
> ->
> waf configure --prefix=%{_prefix} --no-runtime-deps
>
>
> All python modules are not needed in runtime, don't check them. Also,
> the package is noarch, optflags is not needed.
That does not answer the current topic.
Also, the checking is done by the waf script, not by the rpm packaging
method. The question is :
Why waf is not able to detect the gtk python module during rpmbuild?
pygtk and concerned gtk packages are installed.
You probably need "Buildrequires gtk2-devel pygtk2-devel" instead of
"Buildrequires gtk2 pygtk2"
Regards,
Alain
--
La version française des pages de manuel Linux
http://manpagesfr.free.fr