/etc/drirc is always created, so exclude it on platforms without hw drivers

This commit is contained in:
Dan Horák 2013-02-27 15:25:43 +01:00
parent 6463e257ef
commit 2a4ddba5e6

View File

@ -49,7 +49,7 @@
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
Name: mesa Name: mesa
Version: 9.1 Version: 9.1
Release: 0.3%{?dist} Release: 0.4%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.mesa3d.org URL: http://www.mesa3d.org
@ -476,6 +476,8 @@ rm -rf $RPM_BUILD_ROOT
%if 0%{?with_vmware} %if 0%{?with_vmware}
%{_libdir}/dri/vmwgfx_dri.so %{_libdir}/dri/vmwgfx_dri.so
%endif %endif
%else
%exclude %{_sysconfdir}/drirc
%endif %endif
%{_libdir}/libdricore*.so* %{_libdir}/libdricore*.so*
%{_libdir}/dri/swrast_dri.so %{_libdir}/dri/swrast_dri.so
@ -588,6 +590,9 @@ rm -rf $RPM_BUILD_ROOT
%endif %endif
%changelog %changelog
* Wed Feb 27 2013 Dan Horák <dan[at]danny.cz> - 9.1-0.4
- /etc/drirc is always created, so exclude it on platforms without hw drivers
* Tue Feb 26 2013 Adam Jackson <ajax@redhat.com> 9.1-0.3 * Tue Feb 26 2013 Adam Jackson <ajax@redhat.com> 9.1-0.3
- Fix s390*'s swrast to be classic not softpipe - Fix s390*'s swrast to be classic not softpipe