From: Markus Lehtonen Date: Thu, 17 Oct 2013 10:53:44 +0000 (+0300) Subject: Use commit sha1 instead of tagname in spec file VCS tag X-Git-Tag: 0.19~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a006f1d67abd0040e6dfd9e2870ee4b71ef37c8;p=tools%2Fgbs.git Use commit sha1 instead of tagname in spec file VCS tag Change-Id: Iad46e761839b9abd8174ee874f4904d40b9abc66 Signed-off-by: Markus Lehtonen --- diff --git a/debian/control b/debian/control index 27177b3..fe7960c 100644 --- a/debian/control +++ b/debian/control @@ -13,7 +13,7 @@ Depends: ${misc:Depends}, ${python:Depends}, python-pycurl, sudo, osc (>= 0.139.0), - git-buildpackage-rpm (>= 0.6.3-tizen20131016), + git-buildpackage-rpm (>= 0.6.3-tizen20131017), gbs-api (= ${binary:Version}), gbs-export (= ${binary:Version}), gbs-remotebuild (= ${binary:Version}), diff --git a/gitbuildsys/cmd_export.py b/gitbuildsys/cmd_export.py index b88990b..44c6354 100644 --- a/gitbuildsys/cmd_export.py +++ b/gitbuildsys/cmd_export.py @@ -141,7 +141,7 @@ def create_gbp_export_args(repo, commit, export_dir, tmp_dir, spec, args, "--git-export=%s" % commit, "--git-upstream-branch=%s" % upstream_branch, "--git-upstream-tag=%s" % upstream_tag, - "--git-spec-vcs-tag=%s#%%(tagname)s" % reponame] + "--git-spec-vcs-tag=%s#%%(commit)s" % reponame] if create_tarball: argv.append("--git-force-create") diff --git a/packaging/gbs.spec b/packaging/gbs.spec index 05db390..6532e68 100644 --- a/packaging/gbs.spec +++ b/packaging/gbs.spec @@ -13,7 +13,7 @@ Requires: python >= 2.6 Requires: python-pycurl Requires: sudo Requires: osc >= 0.139.0 -Requires: tizen-gbp-rpm >= 20131016 +Requires: tizen-gbp-rpm >= 20131017 Requires: depanneur >= 0.10 Requires: mic >= 0.20