Re: [opensuse-packaging] %if 0%{?suse_version} >= 1210 not working?
Am 07.12.2011 05:50, schrieb Cristian Rodríguez:
Use > 1140 instead ;-)
Guess what? ;) Doesn't work either. I've changed to the following: %if 0%{?suse_version} <= 1140 %patch0 -p1 %endif %patch1 -p1 %patch2 -p1 %patch4 -p1 %patch5 -p1 %if 0%{?suse_version} > 1140 %patch6 -p1 %endif So patch0 should affect all releases from including 11.4 and downwards. patch6 should affect all releases above 11.4. Again, patch6 is only applied in Factory, not 12.1. Maybe the build target has a wrong suse_version? https://build.opensuse.org/package/show?package=lxdm&project=home%3AlOtz1009%3Abranches%3AX11%3Alxde --- Lutz Thuns openSUSE member (lOtz1009) LXDE team -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi, may I please again ask, why %if 0%{?suse_version} >= 1210 is not working for 12.1? In my understanding every command following that string, should be executed by all build targets including 12.1 upwards and be ignored by all build targets before 12.1 Am I misunderstanding the system behind it or using a wrong %if? https://build.opensuse.org/package/show?package=lxdm&project=home%3AlOtz1009%3Abranches%3AX11%3Alxde https://bugzilla.novell.com/show_bug.cgi?id=732671 Thanks. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 12/28/2011 10:22 AM, Lutz Thuns wrote:
Hi,
may I please again ask, why
%if 0%{?suse_version} >= 1210
is not working for 12.1? In my understanding every command following that string, should be executed by all build targets including 12.1 upwards and be ignored by all build targets before 12.1 Am I misunderstanding the system behind it or using a wrong %if?
https://build.opensuse.org/package/show?package=lxdm&project=home%3AlOtz1009%3Abranches%3AX11%3Alxde
https://bugzilla.novell.com/show_bug.cgi?id=732671
Thanks.
I just checked the "Meta Configuration of X11:lxde" (via https://build.opensuse.org/project/meta?project=X11%3Alxde), it shows starting at line 29: <repository name="openSUSE_12.1"> <path repository="standard" project="openSUSE:11.4"/> <arch>x86_64</arch> <arch>i586</arch> </repository> So, somebody screwed up and use a repository called 12.1 that builds against 11.4. Please fix the above and recompile everything - and I expect it works again. Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 02.01.2012 10:31, schrieb Andreas Jaeger:
I just checked the "Meta Configuration of X11:lxde" (via https://build.opensuse.org/project/meta?project=X11%3Alxde), it shows starting at line 29: <repository name="openSUSE_12.1"> <path repository="standard" project="openSUSE:11.4"/> <arch>x86_64</arch> <arch>i586</arch> </repository>
So, somebody screwed up and use a repository called 12.1 that builds against 11.4. Please fix the above and recompile everything - and I expect it works again.
Hi Andreas, thanks for investigating. According to my meta [1] which is set correctly, it should at least work for my OBS branch right? Unfortunately it doesn't. Nevertheless I've sent a request to change the meta for X11:lxde. [1] https://build.opensuse.org/project/meta?project=home%3AlOtz1009%3Abranches%3... Happy new year to all readers, --- Lutz Thuns openSUSE member (lOtz1009) LXDE team -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 01/02/2012 10:46 AM, Lutz Thuns wrote:
Am 02.01.2012 10:31, schrieb Andreas Jaeger:
I just checked the "Meta Configuration of X11:lxde" (via https://build.opensuse.org/project/meta?project=X11%3Alxde), it shows starting at line 29: <repository name="openSUSE_12.1"> <path repository="standard" project="openSUSE:11.4"/> <arch>x86_64</arch> <arch>i586</arch> </repository>
So, somebody screwed up and use a repository called 12.1 that builds against 11.4. Please fix the above and recompile everything - and I expect it works again.
Hi Andreas,
thanks for investigating. According to my meta [1] which is set correctly, it should at least work for my OBS branch right? Unfortunately it doesn't.
It should - but maybe there's some problem since you build against the lxde repository and something is inherited. Do you reproduce this with a package build against openSUSE:12.1 locally? I mean something like: osc --alternative-project=openSUSE:12.1 your-spec.spec ? Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 02.01.2012 11:33, schrieb Andreas Jaeger:
Hi Andreas,
thanks for investigating. According to my meta [1] which is set correctly, it should at least work for my OBS branch right? Unfortunately it doesn't.
It should - but maybe there's some problem since you build against the lxde repository and something is inherited.
Do you reproduce this with a package build against openSUSE:12.1 locally?
I mean something like: osc --alternative-project=openSUSE:12.1 your-spec.spec ?
Meta has been updated and build is working fine. Thanks for spotting out the mistake. Lutz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Andreas Jaeger
-
Lutz Thuns