编译util-linux-2.13的srpm包出错:
make[1]: Entering directory `/usr/src/redhat/BUILD/util-linux-2.13-pre7/po'
/bin/sh @MKINSTALLDIRS@ /var/tmp/util-linux-root/usr/share
/bin/sh: @MKINSTALLDIRS@: No such file or directory
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory `/usr/src/redhat/BUILD/util-linux-2.13-pre7/po'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.91982 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.91982 (%install)
解决方法是:将其spec文件中的make aclocal的三行注释掉即可!