使用的所有其他变量都已定义
OPT='_topdir ${TOPDIR}'
rpmbuild --buildroot ${TOPDIR}/BUILDROOT/${RPM_NAME}-${VER}-${RELEASE}.${ARCH} --define=$(OPT) -vv -ba ${RPM_NAME}.spec
错误:
make: *** [depend-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.nsEjuv (%build)
RPM build errors:
Macro % has illegal name (%define)
Bad exit status from /var/tmp/rpm-tmp.nsEjuv (%build)