2010/5/26 Ratnadeep Debnath <rtnpro@xxxxxxxxx>: > On Wed, May 26, 2010 at 2:05 PM, Chen Lei <supercyper1@xxxxxxxxx> 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. > > Thanks, > rtnpro > -- I don't know why. But It's pointless for a python program to check python modules dependencies during rpmbuild, you can simply add them as Requires. python_modules = """ gio gtk xdg dbus keyring """ Chen Lei -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel