On Mon, 2017-11-27 at 10:24 +0100, Dominique Leuenberger / DimStar wrote:
Dear Tumbleweed hackers and packagers,
It is about time that openSUSE:Factory aka Tumbleweed moves its suse_version definition up again.
The new suse_version will be 1550 - starting with December 1st 2017
Please be informed that this change has been executed on December 1st as planned (after snapshot 1130 moved over to openQA). This change is in effect immediately (also for users building against /snpashot!)
What's the rationale behind 1550:
- SLE15 / Leap 15 are using 1500 (for their entire lifecycle).
- Tumbleweed is supposed to be 'ahead of the game', so we plant it
between SLe/Leap15 and SLE/Leap16 (don't ask about timeframes for those, nobody knows)
While packaging, you should never reference version 1550 though. your thing are compatible to suse_version >= 1500 (meaning all Leap 15.x versions) OR, if something comes into play on newer .x levels, you'd do:
%if %{suse_version} > 1500 || %{sle_version} >= 150100 # Feature is available since Leap 15.1 BuildRequires: new-dep %endif
This will indicate that starting with 15.1 things are present, and for TW as well. If you don't know yet about the Leap version it might become available, simply skip the sle_version check (but keep the check for suse_version > 1500)
Cheers, Dominique