On 26/04/2017 00:30, Greg Freemyer wrote:
I'm just talking rpm macros exclusively below, so nothing visible to the public or 99% of users:
I don't think any of the negative comments I've heard are complaining about %suse_version being 1500 for the next major Leap release (after 42.3).
I'm going to treat that as a given and I think that is all the board has spoken to so far.
But we have %suse_version, %sle_version, %leap_version, and %is_opensuse.
In Leap 42.2 they are:
suse_version = 1315 sle_version = 120200 leap_version = 420200 is_opensuse = 1
In Leap Next, if I understand correctly, we may kill off leap_version and only have:
suse_version = 1500 sle_version = 150000 is_opensuse = 1
Is it really all that painful to also have:
leap_version = 450000 or leap_version = 1500000 (note the extra zero)
And if having both sle_version and leap_version different really is that painful, why not make both 1500000
sle_version = 1500000 (with the extra zero) leap_version = 1500000 (with the extra zero)
There are no existing spec files that are testing for %sle_version == 150000, so just add a zero and the spec files get to as simple as possible from day 1 of SLE 15 development. (which I assume is very soon).
Greg The safest way to distinguish leap versions is using %sle_version && %is_opensuse, openSUSE:Factory has %sle_version of 0 so you could use > for this. Dave P -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org