Copy glxinfo to glxinfo%{__isa_bits}, to allow people to check that their

compatibility drivers are working.
This commit is contained in:
Adam Jackson 2013-02-27 17:22:06 -05:00
parent 94784511a6
commit fb59eae0d4

View File

@ -8,7 +8,7 @@
Summary: Mesa demos Summary: Mesa demos
Name: mesa-demos Name: mesa-demos
Version: 8.1.0 Version: 8.1.0
Release: 1 Release: 2%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.mesa3d.org URL: http://www.mesa3d.org
@ -34,6 +34,7 @@ This package provides some demo applications for testing Mesa.
%package -n glx-utils %package -n glx-utils
Summary: GLX utilities Summary: GLX utilities
Group: Development/Libraries Group: Development/Libraries
Provides: glxinfo glxinfo%{?__isa_bits}
%description -n glx-utils %description -n glx-utils
The glx-utils package provides the glxinfo and glxgears utilities. The glx-utils package provides the glxinfo and glxgears utilities.
@ -65,6 +66,9 @@ popd
install -m 0755 src/xdemos/glxgears %{buildroot}%{_bindir} install -m 0755 src/xdemos/glxgears %{buildroot}%{_bindir}
install -m 0755 src/xdemos/glxinfo %{buildroot}%{_bindir} install -m 0755 src/xdemos/glxinfo %{buildroot}%{_bindir}
%if 0%{?__isa_bits} != 0
install -m 0755 src/xdemos/glxinfo %{buildroot}%{_bindir}/glxinfo%{?__isa_bits}
%endif
%check %check
@ -73,12 +77,16 @@ install -m 0755 src/xdemos/glxinfo %{buildroot}%{_bindir}
%{_datadir}/%{name}/ %{_datadir}/%{name}/
%files -n glx-utils %files -n glx-utils
%{_bindir}/glxinfo %{_bindir}/glxinfo*
%{_bindir}/glxgears %{_bindir}/glxgears
%{_bindir}/xdriinfo %{_bindir}/xdriinfo
%{_datadir}/man/man1/xdriinfo.1* %{_datadir}/man/man1/xdriinfo.1*
%changelog %changelog
* Wed Feb 27 2013 Adam Jackson <ajax@redhat.com> 8.1.0-2
- Copy glxinfo to glxinfo%%{__isa_bits}, to allow people to check that their
compatibility drivers are working.
* Sun Feb 24 2013 Dave Airlie <airlied@redhat.com> 8.1.0-1 * Sun Feb 24 2013 Dave Airlie <airlied@redhat.com> 8.1.0-1
- package upstream demos release 8.1.0 (mainly for new glxinfo) - package upstream demos release 8.1.0 (mainly for new glxinfo)