77289e
Automatically discover whether to run autoreconf and add BuildRequires Always use git to apply patches. BuildRequire git if we have any patches. Add a "num_patches" macro to detect this.