Mailinglist Archive: opensuse-buildservice (233 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Bug or unimplemented?
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Fri, 25 May 2007 10:53:48 +0200
- Message-id: <20070525085348.GB24476@xxxxxxx>
On Thu, May 24, 2007 at 11:29:03AM -0600, Troy Telford wrote:
> I've got a spec file (not on build.opensuse.org, though), that has the
> following syntax:
>
> %{?_with_foo:BuildRequires: foo}
>
> With a non-buildservice RPM build, this means that if the macro '_with_foo' is
> defined, 'foo' is a build requirement.
>
> It's a useful syntax; I have to provide a source RPM that can give the user
> customization options by re-compiling the srpm with various "--with foo"
> options (or to negate defaults by using "--without foo".)
>
> What I'm seeing is the following when I try to build the package using the
> buildservice: %{_with_foo} is set in the spec file as the default (so RPM
> sees "BuildRequires: foo")
%{?xxx: } syntax actually *is* implemented. Maybe your default
definition of %{_with_foo} can't be parsed.
Can you send me your specfile?
Thanks,
Michael.
--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
> I've got a spec file (not on build.opensuse.org, though), that has the
> following syntax:
>
> %{?_with_foo:BuildRequires: foo}
>
> With a non-buildservice RPM build, this means that if the macro '_with_foo' is
> defined, 'foo' is a build requirement.
>
> It's a useful syntax; I have to provide a source RPM that can give the user
> customization options by re-compiling the srpm with various "--with foo"
> options (or to negate defaults by using "--without foo".)
>
> What I'm seeing is the following when I try to build the package using the
> buildservice: %{_with_foo} is set in the spec file as the default (so RPM
> sees "BuildRequires: foo")
%{?xxx: } syntax actually *is* implemented. Maybe your default
definition of %{_with_foo} can't be parsed.
Can you send me your specfile?
Thanks,
Michael.
--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |