Hei, On 12/11/2014 04:20 PM, Dimstar / Dominique Leuenberger wrote:
On Thu, 2014-12-11 at 16:14 +0100, Michael Ströder wrote:
HI!
Is there a comprehensible list/table of SuSE version macros usable in .spec files and some hints how they should be used?
I'm having a hard time to distinguish SLES 11SP3, SLES12 and openSUSE 13.1+ to set right dependencies.
Ciao, Michael.
Michael,
we have https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto#Dete...
Special things:
SLE11 is 'just' 1110 (same as openSUSE 11.1 was); the SPs are not represented.
SLES12 is 1315 (something between openSUSE 13.1 and 13.2 :) )
13.1 => 1310 13.2 -> 1320 Currently, Tumbleweed identifies itself as 1321 (being > 13.2) Thanks! One bonus question: how to differentiate SLES and openSUSE correctly? Until now I used: %if 0%{?suse_version} >= 1210 or %define with_geoip %suse_version >= 1210 to make sure, that something is defined only on openSUSE, but not on SLES. What is the correct way if I want to compile my package (syslog-ng) also on SLES12? Bye, CzP -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org