Errors in packaging kupfer

Chen Lei supercyper1 at gmail.com
Wed May 26 12:30:32 UTC 2010


2010/5/26 Ratnadeep Debnath <rtnpro at gmail.com>:
> On Wed, May 26, 2010 at 2:05 PM, Chen Lei <supercyper1 at 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.
>
> 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


More information about the devel mailing list