On Tue, 10 Sep 2013 14:39:35 +0100, Adam Spiers <aspiers@suse.com> said:
Sascha Peilicke (speilicke@suse.com) wrote:
On 09/10/2013 02:39 PM, Andreas Schwab wrote:
Adam Spiers <aspiers@suse.com> writes:
Please can you define "properly named"?
So they sort properly like the version.
Andreas.
I guess the "if" is important here, I know (and packaged) plenty of projects which never used tags nor heard of semantic versioning or even care about. For instance, that's why all those go packages have 0.0.0+git$BLA :-)
Exactly. Even for a project that strictly follows semver, it still might have a series of tags like this:
v0.1.0 v0.1.1 v0.1.2 v0.2.0 v0.2.1 v0.2.2 rel-1.0.0 rel-1.0.1
yes but if the upstream follows some kind of standardization in their scm then it is workable For example I maintain nightly builds for darktable for a long time and this is what I use dt_ver=$(git describe --tags HEAD | sed 's,^release-,,;s,-,_,;s,-,_,;') which results 1.3_929_g6202a15 and the respective field in the spec is Version: %{dt_ver}_git
or worse ;-) IMHO the "if" is too big to rely on.
That I agree so that depends on the upstream unfortunately Togan -- Life is endless possibilities -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org