Accepting request 457140 from home:jengelh:branches:X11:XOrg

- Some %if around %post do not match with %if around %package;
  drop them altogether since they are not needed except around
  %files.
- Rename wrongly-named libOSMesa9 to libOSMesa8

OBS-URL: https://build.opensuse.org/request/show/457140
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=576
This commit is contained in:
2017-02-22 01:28:40 +00:00
committed by Git OBS Bridge
parent 7d89858013
commit cc4d0d31da
3 changed files with 22 additions and 34 deletions

View File

@@ -38,9 +38,11 @@ Mesa-libGLESv2-devel
requires "Mesa-libGLESv2-2-<targettype> = <version>"
Mesa-libGLESv3-devel
requires "Mesa-libEGL-devel-<targettype> = <version>"
libOSMesa9
libOSMesa8
obsoletes "libOSMesa9-<targettype> < <version>"
provides "libOSMesa9-<targettype> = <version>"
libOSMesa-devel
requires "libOSMesa9-<targettype> = <version>"
requires "libOSMesa8-<targettype> = <version>"
libgbm1
libgbm-devel
requires "libgbm1-<targettype> = <version>"