If you have changed your infodir and mandir (at least), util-linux will not build. This can be seen on an updated RHL62 box. The problem is that even though the proper values are passed to %configure, they are not written to MCONFIG. This should fix the problem in a generic fashion. --- util-linux.spec~ Wed Nov 14 19:41:10 2001 +++ util-linux.spec Mon Nov 19 11:11:42 2001 @@ -112,6 +112,9 @@ %build unset LINGUAS || : +perl -pi -e s':^MAN_DIR=.*:MAN_DIR= %{_mandir}:' MCONFIG +perl -pi -e s':^INFO_DIR=.*:INFO_DIR= %{_infodir}:' MCONFIG + %configure make "OPT=$RPM_OPT_FLAGS -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" \ (note a tab after {INFO,MAN}_DIR in perl, probably munged in cut'n'paste).
Does this still occur with the util-linux-2.11n in rawhide?
Yes, tested on 2.11n-1. For example, %configure has --mandir=/usr/man but MAN_DIR in MCONFIG is /usr/share/man.
I've made this happen using sed instead of perl, and gotten rid of the other perl invocation, so now we BuildRequires sed instead ofperl.