The optflags in --- samba.spec ------ %ifarch i386 sparc %define optflags -O2 -D_FILE_OFFSET_BITS=64 %endif ------------------ are working with i586 and i686 also, so can please replace the statement above with ------------------ %ifarch %{ix86} sparc %define optflags -O2 -D_FILE_OFFSET_BITS=64 %endif ------------------ ?
This was fixed in -34.