diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index ef08af5..a26fce8 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -37,7 +37,7 @@ Name: xorg-x11-drv-nvidia Epoch: 3 Version: 396.24 -Release: 2%{?dist} +Release: 3%{?dist} Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards License: Redistributable, no modification permitted @@ -258,11 +258,7 @@ ldconfig -vn %{buildroot}%{_nvidia_libdir}/ ldconfig -vn %{buildroot}%{_libdir}/ # Libraries you can link against -%ifarch x86_64 for lib in libcuda libnvcuvid libnvidia-encode; do -%else -for lib in libcuda; do -%endif ln -sf $lib.so.%{version} %{buildroot}%{_libdir}/$lib.so done @@ -292,6 +288,10 @@ sed -i -e 's|libGLX_nvidia.so.0|libGL.so.1|' %{buildroot}%{_datadir}/vulkan/icd. touch -r nvidia_icd.json.template %{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.%{_target_cpu}.json %endif +# Install headers +install -m 0755 -d %{buildroot}%{_includedir}/nvidia/GL/ +install -p -m 0644 {gl.h,glext.h,glx.h,glxext.h} %{buildroot}%{_includedir}/nvidia/GL/ + %ifarch x86_64 # X DDX driver and GLX extension install -p -D -m 0755 libglx.so.%{version} %{buildroot}%{_nvidia_xorgdir}/libglx.so.%{version} @@ -329,10 +329,6 @@ install -m 0755 -d %{buildroot}%{_bindir} install -p -m 0755 nvidia-{bug-report.sh,debugdump,smi,cuda-mps-control,cuda-mps-server} \ %{buildroot}%{_bindir} -# Install headers -install -m 0755 -d %{buildroot}%{_includedir}/nvidia/GL/ -install -p -m 0644 {gl.h,glext.h,glx.h,glxext.h} %{buildroot}%{_includedir}/nvidia/GL/ - # Install man pages install -m 0755 -d %{buildroot}%{_mandir}/man1/ install -p -m 0644 nvidia-{cuda-mps-control,smi}.1.gz \ @@ -576,14 +572,15 @@ fi ||: %{_libdir}/libnvidia-opencl.so.1 %{_libdir}/libnvidia-opencl.so.%{version} -%ifarch x86_64 %files devel %{_includedir}/nvidia/ %{_libdir}/libnvcuvid.so %{_libdir}/libnvidia-encode.so -%endif %changelog +* Fri Jun 22 2018 Leigh Scott - 3:396.24-3 +- Readd devel sub-package for i686 + * Fri May 04 2018 Leigh Scott - 3:396.24-2 - Clean up