On Tue, Jul 10, 2012 at 10:52:45AM +0200, Johannes Meixner wrote:
Hello,
On Jul 6 18:48 Jean Delvare wrote (excerpt):
Le vendredi 06 juillet 2012 à 14:35 +0200, Marcus Rueckert a écrit :
On 2012-07-06 10:21:35 +0200, Johannes Meixner wrote:
http://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto -------------------------------------------------------------------------- SLE 11 %if 0%{?sles_version} == 11 also set: %if 0%{?suse_version} == 1110 ... ServicePacks cannot be distinguished. SLES11 SP1 sets exactly the same variables as SLES11.
But I need to distinguish SLE 11 GA versus SP1 versus SP2.
How can I do it?
you cant.
Johannes, if you explain why you wanted to distinguish between these, maybe someone will propose an alternative way to solve the problem.
I am not looking for hacks (i.e. stuff that only works in a specific case).
I could do hacks but I refuse because our external contributors must easily understand what happens in our spec files, see https://bugzilla.novell.com/show_bug.cgi?id=770243#c2
#c2 is not a concrete example... Please give one :/ Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org