diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2018-01-22 12:34:16 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2018-01-22 12:51:54 +0200 |
commit | fb9cf846989d579f151c7e9d00f16d1fa1fdf90d (patch) | |
tree | 1423353062f3ea2fb51fc5b7d705663e66c429e0 | |
parent | f60204dcd2d4626c5a3f98c96c008d1f51666599 (diff) |
import-srpm: change commit message of native sources
Include the full package version in the commit message for native
packages.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-x | gbp/scripts/import_srpm.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/scripts/import_srpm.py b/gbp/scripts/import_srpm.py index a62e3311..4230267b 100755 --- a/gbp/scripts/import_srpm.py +++ b/gbp/scripts/import_srpm.py @@ -382,7 +382,8 @@ def main(argv): "Also check the --create-missing-branches option.") raise GbpError upstream_vendor = "Native" if options.native else "Upstream" - msg = "%s version %s" % (upstream_vendor, spec.upstreamversion) + upstream_version = full_version if options.native else spec.upstreamversion + msg = "%s version %s" % (upstream_vendor, upstream_version) upstream_commit = repo.commit_dir(sources.unpacked, "Import %s" % msg, branch, |