Mailinglist Archive: opensuse-buildservice (250 mails)

< Previous Next >
[opensuse-buildservice] Spec parsing errors
  • From: Peter Bowen <pzb@xxxxxxxxxx>
  • Date: Mon, 11 Aug 2008 06:04:58 -0400
  • Message-id: <1218449098.4339.98.camel@xxxxxxxxxxxxxxxxxxxxx>
In using the openSUSE build service, I have run into two things where
the spec parser use to determine build requirements does not behave the
same as the internal rpm spec parser.

The first case is the following construct:

%define with_foo 1
%if 0%{?sles_version} && 0%{?sles_version} < 11
%define with_foo 0
%endif

This should end up as with_foo = 1 on all platforms but SLES10.
However, it appears that the build service thinks it always evaluates to
with_foo = 0. You can see this by looking at the rpmdebug page in the
home:pzb project.

The second issue is that it is valid (at least according to rpm) to have
the following line in the spec:

BuildRequires: perl-libwww-perl # Fix HTTP:: alternatives

This is a build requirement followed by a comment. However, the build
service tries to require '#', 'Fix', 'HTTP::', and 'alternatives' in
addition to perl-libwww-perl.

Is there a bugzilla component for the build service to enter these bugs?

Thanks.
Peter

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

< Previous Next >
Follow Ups