Redhat EL5:setup Installed (but unpackaged) file(s) found

在EL5的系统中,使用Python的setup打包rpm的时候,出现如下的错误:

fails with these errors now:
RPM build errors:
Installed (but unpackaged) file(s) found:

其实,这应该是跟rpm相关的一个问题,解决方法很简单,执行如下命令即可:
[quote]echo "%_unpackaged_files_terminate_build 0" >> /etc/rpm/macros[/quote]

参考:[url=http://www.aczoom.com/forums/blockhosts/no-rpm-builds]No RPM builds[/url]

你可能感兴趣的:(linux/unix,RedHat,Python)