[mb] Fix building when .spec fields contain spaces

This fixes situations in which extracting the package
name or replacing the "Source:" field fails because
there are spaces before the colon, e.g.:

Name        : awesomepackage
Source      : mypackage.tgz

Also makes sure that matching of these fields is only
done at the beginning of a line.