[Bug 770243] New: No way to distinguish SLE service packs in spec file
https://bugzilla.novell.com/show_bug.cgi?id=770243 https://bugzilla.novell.com/show_bug.cgi?id=770243#c0 Summary: No way to distinguish SLE service packs in spec file Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jsmeix@suse.com QAContact: adrian@suse.com CC: mrueckert@suse.com Found By: Development Blocker: --- During build I need to distinguish SLE 11 GA versus SP1 versus SP2. This is not possible via variables according to 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 it seems there is no way at all to distinguish SLE service packs during build according to http://lists.opensuse.org/opensuse-packaging/2012-07/msg00047.html
From my point of view this is not just a missing feature but a bug because I need to build packages a bit different for different SLE service packs.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=770243 https://bugzilla.novell.com/show_bug.cgi?id=770243#c Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |mge@suse.com AssignedTo|bnc-team-screening@forge.pr |kukuk@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=770243 https://bugzilla.novell.com/show_bug.cgi?id=770243#c1 Thorsten Kukuk <kukuk@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |jsmeix@suse.com --- Comment #1 from Thorsten Kukuk <kukuk@suse.com> 2012-07-06 13:01:55 UTC --- Why? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=770243 https://bugzilla.novell.com/show_bug.cgi?id=770243#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|jsmeix@suse.com | --- Comment #2 from Johannes Meixner <jsmeix@suse.com> 2012-07-10 08:28:43 UTC --- If it is impossible to distinguish SLE service packs during build, it would mean that the build environment must be exactly the same for different SLE service packs. In general this is true (we try to be backward comatible for different SLE service packs) but this is not true in any case. It is probably true for those package versions which we have in SLE_GA. But for the newest package versions there can be differences how to build them well (i.e. without the need for awkward obscure hacks) for different SLE service packs. In OBS development projects I build the newest package versions for various products, ideally for SLE_10, SLE_11, SLE_11_SP1, SLE_11_SP2, openSUSE_11.4, openSUSE_12.1, openSUSE_Factory, and openSUSE_Tumbleweed. Therefore I need to know the exact build environment in the spec file to be able to build it even in special cases for all those products via one same spec file, something like --------------------------------------------------------------- %if 0%{?sles_version} == 11 something_for_all_SLE11 %if 0%{?sles_sp_version} == 110 something_special_for_SLE11_GA %endif %if 0%{?sles_sp_version} == 111 something_special_for_SLE11_SP1 %endif %if 0%{?sles_sp_version} == 112 something_special_for_SLE11_SP2 %endif %endif --------------------------------------------------------------- so that it is clear in particular for external contributors who work with our spec files what happens therein. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com