00:13:54.213 <mock-chroot>sh-4.3# 00:13:54.213 <mock-chroot>sh-4.3# if [[ -n .20160208121601.gita867579 ]]; then 00:13:54.214 > rpmbuild_options=("-D" "release_suffix .20160208121601.gita867579" ) 00:13:54.214 > else 00:13:54.214 > rpmbuild_options=() 00:13:54.214 > fi 00:13:54.214 <mock-chroot>sh-4.3# for option in ""; do 00:13:54.215 > rpmbuild_options+=("-D" "") 00:13:54.215 > done 00:13:54.235 <mock-chroot>sh-4.3# 00:13:54.236 <mock-chroot>sh-4.3# # build src.rpm 00:13:54.324 <mock-chroot>sh-4.3# rpmbuild -D "_srcrpmdir ." "${rpmbuild_ options[@]}" -ts *.gz 00:13:54.324 error: Macro % has illegal name (%define) 00:13:54.324 error: Macro % has illegal name (%define) 00:13:54.324 error: File *.gz: No such file or directory 00:13:54.324 /usr/bin/cat: *.gz: No such file or directory 00:13:54.325 error: File *.gz: No such file or directory 00:13:54.325 /usr/bin/cat: *.gz: No such file or directory 00:13:54.325 error: Failed to read spec file from *.gz