Mailinglist Archive: opensuse-buildservice (113 mails)

< Previous Next >
Re: [opensuse-buildservice] BuildRequires SuSE <-> RedHat...
  • From: "Dr. Peter Poeml" <poeml@xxxxxxx>
  • Date: Mon, 22 May 2006 13:33:48 +0200
  • Message-id: <20060522113348.GO9871@xxxxxxx>
On Tue, May 16, 2006 at 04:34:19PM +0200, Michael Schroeder wrote:
> On Tue, May 09, 2006 at 03:09:33PM +0200, Dr. Peter Poeml wrote:
> > It would be even nicer, if the %defined/%undefined macros would work.
> > They exist on SUSE, Fedora, Mandrake.
> >
> > It would be possible to use
> > %if %{defined suse_version}
> > or
> > %if %{undefined suse_version}
> > which is much better to read, especially as soon as it gets more
> > complicated.
>
> They now work.

They don't seem to work in every platform -- is that possible?

see http://api.opensuse.org/result/Apache/SUSE_Linux_10.0/libapr1/i586/log
...
error: parse error in expression
error: /usr/src/packages/SOURCES/libapr1.spec:14: parseExpressionBoolean returns -1
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)


Peter

--
SUSE LINUX Products GmbH Thought is limitation.
Research & Development Free your mind.
< Previous Next >
Follow Ups