def METHOD_NAME(self, constant_dict):
    constants.setSpecPath(constant_dict["specPath"])
    constants.setSourcePath(constant_dict["sourcePath"])
    constants.setRpmPath(constant_dict["rpmPath"])
    constants.setSourceRpmPath(constant_dict["sourceRpmPath"])
    constants.setTopDirPath(constant_dict["topDirPath"])
    constants.setLogPath(constant_dict["logPath"])
    constants.setLogLevel(constant_dict["logLevel"])
    constants.setDist(constant_dict["dist"])
    constants.setBuildNumber(constant_dict["buildNumber"])
    constants.setReleaseVersion(constant_dict["releaseVersion"])
    constants.setPrevPublishRPMRepo(constant_dict["prevPublishRPMRepo"])
    constants.setPrevPublishXRPMRepo(constant_dict["prevPublishXRPMRepo"])
    constants.setBuildRootPath(constant_dict["buildRootPath"])
    constants.setPullSourcesURL(constant_dict["pullsourcesURL"])
    constants.setInputRPMSPath(constant_dict["inputRPMSPath"])
    constants.setRPMCheck(constant_dict["rpmCheck"])
    constants.setRpmCheckStopOnError(constant_dict["rpmCheckStopOnError"])
    constants.setPublishBuildDependencies(
        constant_dict["publishBuildDependencies"]
    )
    constants.setPackageWeightsPath(constant_dict["packageWeightsPath"])
    constants.setKatBuild(constant_dict["katBuild"])
    constants.setCanisterBuild(constant_dict["canisterBuild"])
    constants.extrasourcesURLs = constant_dict["extrasourcesURLs"]
    constants.userDefinedMacros = constant_dict["userDefinedMacros"]
    constants.tmpDirPath = constant_dict["tmpDirPath"]
    constants.buildPatch = constant_dict["buildPatch"]