adaptivecomputing/torque — pull request #205 by jbarber (2013-12-04 16:04:00+00:00)
Title: Allow building of RPMs from git archive output

This patch allows rpmbuild to make RPMs for RHEL6 using the torque.spec file from the repo, by:
1) Adding a call to autogen.sh before %configure macro
2) Adding BuildRequires for the autogen.sh script and the Torque binaries

Tested on FC19 by cloning the repo, building the .spec file with "./autogen.sh && configure", then using the .spec file and the git archive artefact to build the SRPM ("rpmbuild -bs torque.spec"), then using mock to build the SRPM into the RPMs in a RHEL6 environment.