Minor spec cleanups
This commit is contained in:
parent
3d63acc32f
commit
359440a6ea
@ -84,7 +84,9 @@ Patch200: mesa-6.4.1-texture-from-drawable.patch
|
|||||||
Patch201: mesa-6.4.1-radeon-use-right-texture-format.patch
|
Patch201: mesa-6.4.1-radeon-use-right-texture-format.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
%if %{with_dri}
|
||||||
BuildRequires: libdrm-devel >= 2.0-1
|
BuildRequires: libdrm-devel >= 2.0-1
|
||||||
|
%endif
|
||||||
BuildRequires: libXxf86vm-devel
|
BuildRequires: libXxf86vm-devel
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
BuildRequires: xorg-x11-proto-devel >= 7.0-3
|
BuildRequires: xorg-x11-proto-devel >= 7.0-3
|
||||||
@ -274,8 +276,6 @@ make -C progs/xdemos glxgears glxinfo
|
|||||||
#-- Install ----------------------------------------------------------
|
#-- Install ----------------------------------------------------------
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
# NOTE: the rpm makeinstall macro does not work for mesa
|
|
||||||
#%%makeinstall DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
# NOTE: "make install" calls mesa's installmesa script, passing DESTDIR
|
# NOTE: "make install" calls mesa's installmesa script, passing DESTDIR
|
||||||
# to it as a commandline arg, but LIB_DIR and INCLUDE_DIR get hard coded in
|
# to it as a commandline arg, but LIB_DIR and INCLUDE_DIR get hard coded in
|
||||||
# that script, meaning multilib breaks.
|
# that script, meaning multilib breaks.
|
||||||
@ -284,8 +284,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# NOTE: Since Mesa's install procedure doesn't work on multilib properly,
|
# NOTE: Since Mesa's install procedure doesn't work on multilib properly,
|
||||||
# we fix it here, as I have patched the installmesa script to remove the
|
# we fix it here, as I have patched the installmesa script to remove the
|
||||||
# hard coding, and we set the variables ourself right here, and it should
|
# hard coding, and we set the variables ourself right here, and it should
|
||||||
# hopefully pick them up.
|
# hopefully pick them up. -- mharris@redhat.com
|
||||||
# -- Mike A. Harris <mharris@redhat.com>
|
|
||||||
export LIB_DIR=$RPM_BUILD_ROOT%{_libdir}
|
export LIB_DIR=$RPM_BUILD_ROOT%{_libdir}
|
||||||
export INCLUDE_DIR=$RPM_BUILD_ROOT%{_includedir}
|
export INCLUDE_DIR=$RPM_BUILD_ROOT%{_includedir}
|
||||||
bin/installmesa $RPM_BUILD_ROOT/usr
|
bin/installmesa $RPM_BUILD_ROOT/usr
|
||||||
|
Loading…
Reference in New Issue
Block a user