[opensuse-buildservice] mandriva_version broken on 2009.1
Hi folks. I just noticed that one is neither able to specifically target Mandriva 2009.1 with %if tags in .specs nor do packages containing %{?mandriva_version} build for 2009.1 because the %if comparison always results in a parse error cause of the ".". The way I see it that can be fixed in two ways: 1. The %if %else %endif comparison gets fixed 2. The mandriva_version numbering scheme is changed for all supported Mandriva versions so it is similar to the openSUSE one - 2008 -> 200800, 2009 -> 200900, 2009.1 -> 200910, ... IMHO the second way is probably easier cause only the prjconf has to be changed. Disadvantage is that it probably would break some of the current builds but since there aren't that many Mandriva packages anyways on OBS and it's easy to fix that shouldn't be much of a problem. Last but not least the suggested numbering would be future proof so it were an unique issue. I also filed a bug regarding this: https://bugzilla.novell.com/show_bug.cgi?id=533587 Soo, what do you think, can we get that please fixed asap? Cheers, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Sonntag, 23. August 2009 17:27:39 schrieb Stephan Kleine:
Hi folks.
I just noticed that one is neither able to specifically target Mandriva 2009.1 with %if tags in .specs nor do packages containing %{?mandriva_version} build for 2009.1 because the %if comparison always results in a parse error cause of the ".".
The way I see it that can be fixed in two ways:
1. The %if %else %endif comparison gets fixed
2. The mandriva_version numbering scheme is changed for all supported Mandriva versions so it is similar to the openSUSE one - 2008 -> 200800, 2009 -> 200900, 2009.1 -> 200910, ...
IMHO the second way is probably easier cause only the prjconf has to be changed. Disadvantage is that it probably would break some of the current builds but since there aren't that many Mandriva packages anyways on OBS and it's easy to fix that shouldn't be much of a problem. Last but not least the suggested numbering would be future proof so it were an unique issue.
I also filed a bug regarding this: https://bugzilla.novell.com/show_bug.cgi?id=533587
Changed to 200910 meanwhile -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Stephan Kleine