docs: function setupTempDir(tmpDir) {
    var rpmStructure = ['BUILD', 'BUILDROOT', 'RPMS', 'SOURCES', 'SPECS', 'SRPMS'];
  
    // If the tmpDir exists (probably from previous build), delete it first
    if (fsx.existsSync(tmpDir)) {
      logger(chalk.cyan('Removing old temporary directory.'));
      fsx.removeSync(tmpDir);
    }
  
    // Create RPM folder structure
    logger(chalk.cyan('Creating RPM directory structure at:'), tmpDir);
    _.forEach(rpmStructure, function(dirName) {
      fsx.mkdirpSync(path.join(tmpDir, dirName));
    });
  }