18.06.2016 08:10, Dave Plater пишет:
On 17/06/2016 23:45, Ondřej Súkup wrote:
I just read the link and at the bottom it states that both openSUSE:Leap:42.1 and 42.2 will be %suse_version 1315, is this intended? Can't Leap:42.2 at least be 1316 or better still 1335.
SLES has a different %suse_version for SP2. no , SLE12 ,SP1 and SP2 have suse_version = 1315 , and sles_version = 120000 , 120100 and 120200 + Leap has defined is_opensuse = 1
Exactly what my point is, you can distinguish between SLE12 SP1 and SP2 but you cannot distinguish between Leap:42.1 and 42.2 ie. %if %sles_version > 120100 identifies SP 2 only but there is no macro to identify Leap:42.2.
Now read message you responded to once more. %sles_version == 120200 && %is_opensuse == 1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org