docs: function buildRpm(buildRoot, specFile, rpmDest, execOpts, cb) {
    // Build the RPM package.
    var cmd = [
      'rpmbuild',
      '-bb',
      '-vv',
      '--buildroot',
      buildRoot,
      specFile
    ].join(' ');
  
    logger(chalk.cyan('Executing:'), cmd);
  
    execOpts = execOpts || {};
  
    exec(cmd, execOpts, function rpmbuild(err, stdout) {
  
      if (err) {
        return cb(err);
      }
  
      if (stdout) {
        var rpm = stdout.match(/(\/.+\..+\.rpm)/);
  
        if (rpm && rpm.length > 0) {
          var rpmDestination = rpm[0];
  
          if (rpmDest) {
            rpmDestination = path.join(rpmDest, path.basename(rpmDestination));
            logger(chalk.cyan('Copying RPM package to:'), rpmDestination);
            fsx.copySync(rpm[0], rpmDestination);
          }
  
          return cb(null, rpmDestination);
        }
      }
    });
  }