Accepting request 441846 from home:jordimassaguerpla:branch:Vc:fix_runc_and_containerd_versioning

- fix version by adding a revision "counter" so that it will always
  increase
  fix bsc#1009961

OBS-URL: https://build.opensuse.org/request/show/441846
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=28
This commit is contained in:
Jordi Massaguer 2016-11-24 12:49:13 +00:00 committed by Git OBS Bridge
parent 5a4d9c570e
commit e7756c519f
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Nov 24 11:05:41 UTC 2016 - jmassaguerpla@suse.com
- fix version by adding a revision "counter" so that it will always
increase
fix bsc#1009961
-------------------------------------------------------------------
Thu Oct 13 11:04:27 UTC 2016 - jmassaguerpla@suse.com

View File

@ -36,11 +36,18 @@
%define go_tool go-6
%endif
# MANUAL: Update the git_version and git_revision
%define git_version 02f8fa7
# How to get the git_revision
# git clone ${url}.git runc-upstream
# cd runc-upstream
# git checkout $git_version
# git_revision=r$(git rev-list HEAD | wc -l)
%define git_revision r2816
%define version_unconverted %{git_version}
Name: runc
Version: 0.1.1+git%{git_version}
Version: 0.1.1+git%{git_revision}_%{git_version}
Release: 0
Summary: Tool for spawning and running OCI containers
License: Apache-2.0