Call ldconfig at -libglapi and -libxatracker post(un)install time.
- Drop redundant ldconfig dependencies, let rpm auto-add them.
This commit is contained in:
parent
9e9873656f
commit
5384165a1f
30
mesa.spec
30
mesa.spec
@ -36,7 +36,7 @@
|
|||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 8.1
|
Version: 8.1
|
||||||
Release: 0.8%{?dist}
|
Release: 0.9%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
@ -89,8 +89,6 @@ Mesa
|
|||||||
%package libGL
|
%package libGL
|
||||||
Summary: Mesa libGL runtime libraries and DRI drivers
|
Summary: Mesa libGL runtime libraries and DRI drivers
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
Provides: libGL
|
Provides: libGL
|
||||||
# F17+'s libX11 changes extension libs to use _XGetRequest(), so if we built
|
# F17+'s libX11 changes extension libs to use _XGetRequest(), so if we built
|
||||||
# against that, require it too
|
# against that, require it too
|
||||||
@ -104,8 +102,6 @@ Mesa libGL runtime library.
|
|||||||
%package libEGL
|
%package libEGL
|
||||||
Summary: Mesa libEGL runtime libraries
|
Summary: Mesa libEGL runtime libraries
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
|
|
||||||
%description libEGL
|
%description libEGL
|
||||||
Mesa libEGL runtime libraries
|
Mesa libEGL runtime libraries
|
||||||
@ -113,8 +109,6 @@ Mesa libEGL runtime libraries
|
|||||||
%package libGLES
|
%package libGLES
|
||||||
Summary: Mesa libGLES runtime libraries
|
Summary: Mesa libGLES runtime libraries
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
|
|
||||||
%description libGLES
|
%description libGLES
|
||||||
Mesa GLES runtime libraries
|
Mesa GLES runtime libraries
|
||||||
@ -173,8 +167,6 @@ Mesa libGLES development package
|
|||||||
%package libGLU
|
%package libGLU
|
||||||
Summary: Mesa libGLU runtime library
|
Summary: Mesa libGLU runtime library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
Provides: libGLU
|
Provides: libGLU
|
||||||
|
|
||||||
%description libGLU
|
%description libGLU
|
||||||
@ -194,8 +186,6 @@ Mesa libGLU development package
|
|||||||
%package libOSMesa
|
%package libOSMesa
|
||||||
Summary: Mesa offscreen rendering libraries
|
Summary: Mesa offscreen rendering libraries
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
Provides: libOSMesa
|
Provides: libOSMesa
|
||||||
|
|
||||||
%description libOSMesa
|
%description libOSMesa
|
||||||
@ -214,8 +204,6 @@ Mesa offscreen rendering development package
|
|||||||
%package libgbm
|
%package libgbm
|
||||||
Summary: Mesa gbm library
|
Summary: Mesa gbm library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
Provides: libgbm
|
Provides: libgbm
|
||||||
|
|
||||||
%description libgbm
|
%description libgbm
|
||||||
@ -236,8 +224,6 @@ Mesa libgbm development package
|
|||||||
%package libwayland-egl
|
%package libwayland-egl
|
||||||
Summary: Mesa libwayland-egl library
|
Summary: Mesa libwayland-egl library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
Provides: libwayland-egl
|
Provides: libwayland-egl
|
||||||
|
|
||||||
%description libwayland-egl
|
%description libwayland-egl
|
||||||
@ -259,8 +245,6 @@ Mesa libwayland-egl development package
|
|||||||
%package libxatracker
|
%package libxatracker
|
||||||
Summary: Mesa XA state tracker for vmware
|
Summary: Mesa XA state tracker for vmware
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
Provides: libxatracker
|
Provides: libxatracker
|
||||||
|
|
||||||
%description libxatracker
|
%description libxatracker
|
||||||
@ -279,8 +263,6 @@ Mesa XA state tracker development package
|
|||||||
%package libglapi
|
%package libglapi
|
||||||
Summary: Mesa shared glapi
|
Summary: Mesa shared glapi
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
|
|
||||||
%description libglapi
|
%description libglapi
|
||||||
Mesa shared glapi
|
Mesa shared glapi
|
||||||
@ -391,12 +373,18 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%postun libEGL -p /sbin/ldconfig
|
%postun libEGL -p /sbin/ldconfig
|
||||||
%post libGLES -p /sbin/ldconfig
|
%post libGLES -p /sbin/ldconfig
|
||||||
%postun libGLES -p /sbin/ldconfig
|
%postun libGLES -p /sbin/ldconfig
|
||||||
|
%post libglapi -p /sbin/ldconfig
|
||||||
|
%postun libglapi -p /sbin/ldconfig
|
||||||
%post libgbm -p /sbin/ldconfig
|
%post libgbm -p /sbin/ldconfig
|
||||||
%postun libgbm -p /sbin/ldconfig
|
%postun libgbm -p /sbin/ldconfig
|
||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
%post libwayland-egl -p /sbin/ldconfig
|
%post libwayland-egl -p /sbin/ldconfig
|
||||||
%postun libwayland-egl -p /sbin/ldconfig
|
%postun libwayland-egl -p /sbin/ldconfig
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?with_vmware}
|
||||||
|
%post libxatracker -p /sbin/ldconfig
|
||||||
|
%postun libxatracker -p /sbin/ldconfig
|
||||||
|
%endif
|
||||||
|
|
||||||
%files libGL
|
%files libGL
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -573,6 +561,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 8.1-0.9
|
||||||
|
- Call ldconfig at -libglapi and -libxatracker post(un)install time.
|
||||||
|
- Drop redundant ldconfig dependencies, let rpm auto-add them.
|
||||||
|
|
||||||
* Wed Jun 13 2012 Dave Airlie <airlied@redhat.com> 8.1-0.8
|
* Wed Jun 13 2012 Dave Airlie <airlied@redhat.com> 8.1-0.8
|
||||||
- enable shared llvm usage.
|
- enable shared llvm usage.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user