最新消息:

rpmbuild noarch (error: Arch dependent binaries in noarch package)

rpm admin 4679浏览 0评论

spec文件里没有BuildArch的时候可以正常生成rpm文件,加上BuildArch:noarch报如下错误:

error: Arch dependent binaries in noarch package


RPM build errors:
    Arch dependent binaries in noarch package

google的解决方法是在spec文件里加上下面这行:

%define _binaries_in_noarch_packages_terminate_build   0  

 

REF:

1. Linux: Arch dependent binaries in noarch package

http://winzter143.blogspot.com/2011/11/linux-arch-dependent-binaries-in-noarch.html

转载请注明:爱开源 » rpmbuild noarch (error: Arch dependent binaries in noarch package)

您必须 登录 才能发表评论!