
On Wed, 05 Oct 2016 19:02:28 +0200 Andreas Schwab <schwab@linux-m68k.org> wrote:
On Okt 05 2016, Carsten Ziepke <kieltux@gmail.com> wrote:
i wanted to update and fix some games in the games repository but run into a problem.
Example: https://build.opensuse.org/package/show/home:Kieltux:branches:games/armagetr... 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: https://build.opensuse.org/build/home:Kieltux:branches:games/openSUSE_13.2/i...
[ 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.: https://build.opensuse.org/build/home:Kieltux:branches:games/openSUSE_Leap_4...
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
Andreas.
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 %else # 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 Carsten