diff --git a/mesa.spec b/mesa.spec index cf14814..567ba38 100644 --- a/mesa.spec +++ b/mesa.spec @@ -30,7 +30,7 @@ Summary: Mesa graphics libraries Name: mesa Version: 8.0.1 -Release: 8%{?dist} +Release: 9%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.mesa3d.org @@ -85,7 +85,6 @@ Group: System Environment/Libraries Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Provides: libGL -Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release} %description libGL Mesa libGL runtime library. @@ -95,7 +94,6 @@ Summary: Mesa libEGL runtime libraries Group: System Environment/Libraries Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig -Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release} %description libEGL Mesa libEGL runtime libraries @@ -105,7 +103,6 @@ Summary: Mesa libGLES runtime libraries Group: System Environment/Libraries Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig -Requires: mesa-dri-drivers%{?_isa} = %{version}-%{release} %description libGLES Mesa GLES runtime libraries @@ -262,6 +259,15 @@ Provides: libxatracker-devel %description libxatracker-devel Mesa XA state tracker development package +%package libglapi +Summary: Mesa shared glapi +Group: System Environment/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description libglapi +Mesa shared glapi + %prep %setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2 #setup -q -n mesa-%{gitdate} -b2 @@ -406,10 +412,12 @@ rm -rf $RPM_BUILD_ROOT %doc docs/COPYING %dir %{_libdir}/dri -%files dri-drivers -%defattr(-,root,root,-) +%files libglapi %{_libdir}/libglapi.so.0 %{_libdir}/libglapi.so.0.* + +%files dri-drivers +%defattr(-,root,root,-) %if %{with_hardware} %{_libdir}/dri/radeon_dri.so %{_libdir}/dri/r200_dri.so @@ -543,6 +551,10 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Mar 28 2012 Adam Jackson 8.0.1-9 +- Subpackage libglapi instead of abusing -dri-drivers for it to keep minimal + disk space minimal. (#807750) + * Wed Mar 28 2012 Adam Jackson 8.0.1-8 - mesa-8.0.1-llvmpipe-shmget.patch: Fix image pitch bug.