Mailinglist Archive: opensuse-buildservice (262 mails)

< Previous Next >
[opensuse-buildservice] mandriva_version broken on 2009.1
  • From: Stephan Kleine <bitdealer@xxxxxxxxx>
  • Date: Sun, 23 Aug 2009 17:27:39 +0200
  • Message-id: <bd0803d70908230827t23816334p69a8cf393012fda9@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups