Mine
public text v1 · immutable
//%build section from the spec file
%build
./configure --prefix=/usr
make
//rpmbuild -ba <file>.spec
checking whether time.h and sys/time.h may both be included... yes
checking for ucd-snmp... no. -- snmp disabled
checking for gtk... ./configure: line 1229: gtk-config: command not found
configure: error: Check that gtk-config is in path
error: Bad exit status from /var/tmp/rpm-tmp.33058 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.33058 (%build)