[opensuse-buildservice] Forcing an answer to a choice question durring build

Hi I'm very newbie in writing spec file and most often time i use the minimal one created by the spec wizard of WebClient. So most of my pkg build correctly except for one who say me : expansion error have choice for mono(Mono.Data.Sqlite) = 2.0.0.0 needed by mono-web: mono-data-sqlite mojoportal How can i prevent this "choice" problem ? -- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

"Petit Eric" <surfzoid@gmail.com> writes:
Hi I'm very newbie in writing spec file and most often time i use the minimal one created by the spec wizard of WebClient.
So most of my pkg build correctly except for one who say me : expansion error have choice for mono(Mono.Data.Sqlite) = 2.0.0.0 needed by mono-web: mono-data-sqlite mojoportal
How can i prevent this "choice" problem ?
Add a BuildRequires on either of them, Andreas -- Andreas Jaeger, Director Platform / openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126

2008/10/25 Andreas Jaeger <aj@suse.de>:
"Petit Eric" <surfzoid@gmail.com> writes:
Hi I'm very newbie in writing spec file and most often time i use the minimal one created by the spec wizard of WebClient.
So most of my pkg build correctly except for one who say me : expansion error have choice for mono(Mono.Data.Sqlite) = 2.0.0.0 needed by mono-web: mono-data-sqlite mojoportal
How can i prevent this "choice" problem ?
Add a BuildRequires on either of them, thanks
Andreas -- Andreas Jaeger, Director Platform / openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-- Cordially. Small Eric Quotations of the days: --------------------------------------------------------------------------- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --------------------------------------------------------------------------- Few people are done for independence, it is the privilege of the powerful ones. --------------------------------------------------------------------------- No key was wounded during the drafting of this message. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

Petit Eric escribió:
How can i prevent this "choice" problem ?
using "Prefer" in the project configuration file may also help. . -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
participants (3)
-
Andreas Jaeger
-
Cristian Rodríguez
-
Petit Eric