安装src.rpm的时候出现如下报错:
[root@nod1 SPECS]# rpmbuild -bp ipvsadm.spec
error: Legacy syntax is unsupported: copyright
error: line 7: Unknown tag: Copyright: GNU General Public Licence
解决办法:
一.ln -s /usr/src/kernels/`uname -a` /usr/src/linux
二.修改ipvsadm.spec文件中的Copyright,把Copyright改成License
再编译即可
阅读(1083) | 评论(0) | 转发(0) |