targetDirs = new File[] { archDir };
else if (file.getName().contains(".noarch.rpm")) {
List<File> dirs = new ArrayList<File>();
targetDirs = new File[] { archDir };
else if (file.getName().contains(".noarch.rpm")) {
List<File> dirs = new ArrayList<File>();
dirs.add(new File(stagingDir, arch));
targetDirs = dirs.toArray(new File[dirs.size()]);
} else if (file.getName().contains(".rpm"))
dirs.add(new File(stagingDir, arch));
targetDirs = dirs.toArray(new File[dirs.size()]);
} else if (file.getName().contains(".rpm"))
}
/** Creates a mock call with all the common options such as config file etc. */
protected SystemCall createBaseMockCall() {
}
/** Creates a mock call with all the common options such as config file etc. */
protected SystemCall createBaseMockCall() {
- String mockCfg = factory.getMockConfig(arch);
- File mockConfigFile = factory.getMockConfigFile(arch, branch);
+ String mockCfg = rpmFactory.getMockConfig(arch);
+ File mockConfigFile = rpmFactory.getMockConfigFile(arch, branch);