- Build with --enable-selinux. Don't know how this got dropped...
This commit is contained in:
parent
2b62ebde92
commit
bff60fb940
12
mesa.spec
12
mesa.spec
@ -18,7 +18,7 @@
|
|||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 7.2
|
Version: 7.2
|
||||||
Release: 0.10%{?dist}
|
Release: 0.11%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
@ -199,17 +199,17 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fvisibility=hidden -Os"
|
|||||||
# first, build the osmesa variants. XXX this is overkill. osmesa32 is
|
# first, build the osmesa variants. XXX this is overkill. osmesa32 is
|
||||||
# sufficient to render to any of the channel sizes, according to the
|
# sufficient to render to any of the channel sizes, according to the
|
||||||
# docs. should fix this someday.
|
# docs. should fix this someday.
|
||||||
%configure --with-driver=osmesa --with-osmesa-bits=8
|
%configure --with-driver=osmesa --with-osmesa-bits=8 --enable-selinux
|
||||||
make %{_smp_mflags} SRC_DIRS=mesa
|
make %{_smp_mflags} SRC_DIRS=mesa
|
||||||
mv %{_lib} osmesa8
|
mv %{_lib} osmesa8
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
%configure --with-driver=osmesa --with-osmesa-bits=16
|
%configure --with-driver=osmesa --with-osmesa-bits=16 --enable-selinux
|
||||||
make %{_smp_mflags} SRC_DIRS=mesa
|
make %{_smp_mflags} SRC_DIRS=mesa
|
||||||
mv %{_lib} osmesa16
|
mv %{_lib} osmesa16
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
%configure --with-driver=osmesa --with-osmesa-bits=32
|
%configure --with-driver=osmesa --with-osmesa-bits=32 --enable-selinux
|
||||||
make %{_smp_mflags} SRC_DIRS=mesa
|
make %{_smp_mflags} SRC_DIRS=mesa
|
||||||
mv %{_lib} osmesa32
|
mv %{_lib} osmesa32
|
||||||
make clean
|
make clean
|
||||||
@ -223,6 +223,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -Os"
|
|||||||
|
|
||||||
# now build the rest of mesa
|
# now build the rest of mesa
|
||||||
%configure \
|
%configure \
|
||||||
|
--enable-selinux \
|
||||||
--disable-glw \
|
--disable-glw \
|
||||||
--disable-glut \
|
--disable-glut \
|
||||||
--disable-gl-osmesa \
|
--disable-gl-osmesa \
|
||||||
@ -428,6 +429,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/mesa-demos-data
|
%{_libdir}/mesa-demos-data
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 20 2008 Adam Jackson <ajax@redhat.com> 7.2-0.11
|
||||||
|
- Build with --enable-selinux. Don't know how this got dropped...
|
||||||
|
|
||||||
* Mon Oct 20 2008 Adam Jackson <ajax@redhat.com> 7.2-0.10
|
* Mon Oct 20 2008 Adam Jackson <ajax@redhat.com> 7.2-0.10
|
||||||
- Be extra paranoid about textrels at the end of %%build
|
- Be extra paranoid about textrels at the end of %%build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user