Mailinglist Archive: opensuse-buildservice (189 mails)

< Previous Next >
Re: [opensuse-buildservice] Expansion-Error on suse-macros
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Tue, 17 Feb 2009 18:01:40 +0100
  • Message-id: <499AFB840200002900010F96@xxxxxxxxxxxxxxxxxxx>
On 2/17/2009 at 5:52 PM, Michal Marek <mmarek@xxxxxxx> wrote:
Christof Hanke napsal(a):
I fear it's hard to do it correctly. E.g. does this snippet require
fdupes.rpm or not?

%if %{defined fdupes}
%fdupes ...

I guess that OBS spec parser is already somewhat 'smart' with such things,
otherwise a snippet like

%if 0%{suse_version} <= 1110
BuildRequires: foo-devel

would also cause trouble with detecting when foo-devel is required.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups