Mailinglist Archive: opensuse-buildservice (42 mails)

< Previous Next >
Re: [opensuse-buildservice] expansion error on multiple BuildRequires
  • From: Stefan Gerlach <gerlach@xxxxxxxxxxxxx>
  • Date: Thu, 13 Apr 2006 11:04:10 +0200
  • Message-id: <200604131104.11436.gerlach@xxxxxxxxxxxxx>
> > -------
> > %if %{suse_version} > 1000
> > BuildRequires: qt3-devel kdelibs3-devel
> > %endif
> >
> > %if %{fedora_version} > 1
> > BuildRequires: qt-devel kdelibs-devel
> > %endif
> > -------
> >

> Yes, I noticed your package ;). The problem is that this is kind
> of hopeless. There's simply no way for the build service code
> to deal with macros that call external commands.

OK. I reworked my spec file.

> We can define some macros for fedora and the other distributions
> if they don't have macros like this.

Yes. That would help a lot.
How about fedora_version, mandriva_version and debian_version?

Greetings,
Stefan
< Previous Next >