2011/9/10 Jani Välimaa <[email protected]>: > 2011/9/10 Balcaen John <[email protected]>: >> Le Samedi 10 Septembre 2011 20:24:25 Jani Välimaa a écrit : >> [...] >>> > version here is 1.0 & the Release is set to %mkrel -c git %gitdate >>> >>> What if you need to do some (minor) changes? Which part of release do >>> you bump when using the same git release? >>> >>> For example '%mkrel -c git%{gitdate} %{rel}' would be better as then >>> there are "release" part which you can bump after changes. My example >>> expands to something like 0.git20110908.1.mga2.. >> Sure, >> you can of course add a %rel tag after if you want to do some changes >> since 0.git20110908.1.mga2 is > 0.git20110908.mga2 >> > > Yes, I know but I meant it should be there from the start, for > consistency. IMHO it should be noted somewhere in release tag that > it's the first release, even in this "special" case. And like it's > done in normal release tag. >
Also, I have one example why the %rel part should be there from the start. What if we have some tool (like 'mdvsys update') which bumps release (semi-)automatically? If there's no %rel part it probably bumps the %gitdate part which is not intended.
