问题:rpmbuild打包报错:Segmentation fault,实际上已经打包成功。
下面不执行了。
1、加sudo
/usr/bin/rpmbuild --define '_topdir '`pwd` -ba SPECS/xxx.spec
2、sudo 问题:sorry, you must have a tty to run sudo
https://blog.csdn.net/lthirdonel/article/details/78937501
3、Build step 'Execute shell' marked build as failure