Example #1
0
 def initialize(options):
     constants.dist = options.dist
     constants.buildNumber = options.buildNumber
     constants.releaseVersion = options.releaseVersion
     constants.specPath = options.specPath
     constants.sourcePath = options.sourcePath
     constants.rpmPath = options.rpmPath
     constants.sourceRpmPath = options.sourceRpmPath
     constants.topDirPath = options.topDirPath
     constants.logPath = options.logPath
     constants.prevPublishRPMRepo = options.publishRPMSPath
     constants.prevPublishXRPMRepo = options.publishXRPMSPath
     constants.buildRootPath = options.buildRootPath
     constants.specData = SerializableSpecObjectsUtils(constants.logPath)
     constants.specData.readSpecsAndConvertToSerializableObjects(
         constants.specPath)
     constants.pullsourcesConfig = options.pullsourcesConfig
     constants.inputRPMSPath = options.inputRPMSPath
     constants.testForceRPMS = []
     constants.rpmCheck = options.rpmCheck
     constants.rpmCheckStopOnError = options.rpmCheckStopOnError
     constants.publishBuildDependencies = options.publishBuildDependencies
     constants.packageWeightsPath = options.packageWeightsPath
     constants.tmpDirPath = "/dev/shm"
     if constants.rpmCheck:
         constants.testLogger = Logger.getLogger("MakeCheckTest",
                                                 constants.logPath)
     constants.updateRPMMacros()
Example #2
0
 def initialize(options):
     constants.specPath = options.specPath
     constants.sourcePath = options.sourcePath
     constants.rpmPath = options.rpmPath
     constants.topDirPath = options.topDirPath
     constants.logPath = options.logPath
     constants.prevPublishRPMRepo=options.publishRPMSPath
     constants.buildRootPath=options.buildRootPath
     constants.specData = SerializableSpecObjectsUtils(constants.logPath)
     constants.specData.readSpecsAndConvertToSerializableObjects(constants.specPath)
Example #3
0
 def initialize(options):
     constants.dist = options.dist
     constants.buildNumber = options.buildNumber
     constants.releaseVersion = options.releaseVersion
     constants.specPath = options.specPath
     constants.sourcePath = options.sourcePath
     constants.rpmPath = options.rpmPath
     constants.sourceRpmPath = options.sourceRpmPath
     constants.topDirPath = options.topDirPath
     constants.logPath = options.logPath
     constants.prevPublishRPMRepo=options.publishRPMSPath
     constants.buildRootPath=options.buildRootPath
     constants.specData = SerializableSpecObjectsUtils(constants.logPath)
     constants.specData.readSpecsAndConvertToSerializableObjects(constants.specPath)
     constants.pullsourcesConfig = options.pullsourcesConfig
     constants.inputRPMSPath=options.inputRPMSPath
     constants.rpmCheck = options.rpmCheck