Now GBP doesn't automatically add patch autoupdate markers anymore.
Change-Id: Ia40851d000c7ea3d576ce72d26a8dbb3c5d5dd77
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
try:
dummy, specfile = guess_spec(options.packaging_dir)
spec = SpecFile(specfile)
- if spec.putautoupdatemarkers() != 0:
- gbpc.GitCommand('status')(['--', options.packaging_dir])
- gbp.log.warn("Auto-added gbp autoupdate markers to spec file. Verifying the changes manually before git commit is recommended.")
except NoSpecError, err:
gbp.log.warn("Unable to find .spec file to add autoupdate markers ('%s')" % err)
# Edit spec file
repo.set_branch(branch)
- if spec.putautoupdatemarkers() != 0:
- GitCommand('status')(['--', options.packaging_dir])
- gbp.log.warn("Auto-added gbp autoupdate markers to spec file. Checking the changes manually before git commit is recommended.")
return os.path.basename(spec.specfile)