Mailinglist Archive: opensuse-buildservice (96 mails)

< Previous Next >
[opensuse-buildservice] Re: OBS changes requirements in spec-files for openSUSE 13.1 & 13.2: glu-devel -> Mesa-devel
  • From: Carsten Ziepke <kieltux@xxxxxxxxx>
  • Date: Wed, 5 Oct 2016 19:17:53 +0200
  • Message-id: <20161005191753.2b2f013b@homer.springfield>
On Wed, 05 Oct 2016 19:02:28 +0200
Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:

On Okt 05 2016, Carsten Ziepke <kieltux@xxxxxxxxx> wrote:

i wanted to update and fix some games in the games repository but
run into a problem.

ArmagetronAD needs as a BuildRequires glu-devel.

In openSUSE 13.1 and openSUSE 13.2 building the package fails,
because OBS changes the spec-files:

[ 56s] I have the following modifications for armagetron.spec:
[ 56s] 38c38
[ 56s] < BuildRequires: glu-devel
[ 56s] ---
[ 56s] > BuildRequires: Mesa-devel

Building fails with:
[ 69s] checking for gluBuild3DMipmaps in -lGLU... no
[ 69s] configure: error:
[ 69s] You need GLU to compile Armagetron; it SHOULD have come
with OpenGL

Of course, because Mesa-devel package does not contain GL/glu.h.
If found several affected packages.

OBS does not change the spec-files for openSUSE > 13.2 e.g.:

It this problem known? Can I do something?

It's part of the games prjconf:

$ osc meta prjconf games | grep glu-devel
Substitute: glu-devel Mesa-devel


Ok, thank you for pointing me in the right direction, but (so far I
understand) this should only happen for SLES (?):
$ osc meta prjconf games...

%if 0%{?is_opensuse}
Support: rpmlint-Factory-strict
# 0%%{?sles_version}. As requested in SR#202708
Substitute: pkgconfig(gl) Mesa-devel
Substitute: Mesa-libGL-devel Mesa-devel
Substitute: pkgconfig(glu) Mesa-devel
Substitute: glu-devel Mesa-devel

< Previous Next >
Follow Ups