Mailinglist Archive: opensuse-buildservice (156 mails)

< Previous Next >
Re: [opensuse-buildservice] Xgl + Xinerama for Xorg 7 and Buildrequire problem
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 8 Aug 2006 09:04:26 +0200
  • Message-id: <200608080904.26520.adrian@xxxxxxx>
Am Tuesday 08 August 2006 08:45 schrieb Jigish Gohil:
> On 8/8/06, Adrian Schröter <adrian@xxxxxxx> wrote:
> > Am Tuesday 08 August 2006 08:10 schrieb Jigish Gohil:
> >
> >
> > %if %suse_version = 1001
> > Buildrequires: xorg-x11-compat70-devel
> > %else
> > Buildrequires: xyz
> > %endif
>
> Thanks Adrian
>
> How do we find out what is suse_version for any repository? For
> example what would be the suse_version of Factory and Xorg7
> repositories?

There is no easy interface for that yet. You can't destinguish between Factory
and xorg7 for Factory in that way. Except the xorg7 project defines a macro
(which would be possible to setup).

The url to get the build information would be

api.opensuse.org/rpm/<project>/<repository>/<arch>/<package>/buildinfo


--

Adrian Schroeter
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
email: adrian@xxxxxxx


< Previous Next >