From 4c53fb7875a6ececb90e5bffd326f80361b63d1f Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Tue, 13 Aug 2019 22:46:06 +0100 Subject: [PATCH] fix file rename and remove f25 conditional --- xorg-x11-drv-nvidia.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index 4628c85..fd8cde2 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -240,9 +240,9 @@ popd %endif # Vulkan config -sed -i -e 's|__NV_VK_ICD__|libGLX_nvidia.so.0|' nvidia_icd.json.template +sed -i -e 's|__NV_VK_ICD__|libGLX_nvidia.so.0|' nvidia_icd.json install -m 0755 -d %{buildroot}%{_datadir}/vulkan/icd.d/ -install -p -m 0644 nvidia_icd.json.template %{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.%{_target_cpu}.json +install -p -m 0644 nvidia_icd.json %{buildroot}%{_datadir}/vulkan/icd.d/nvidia_icd.%{_target_cpu}.json %ifarch x86_64 # X DDX driver and GLX extension @@ -318,7 +318,7 @@ cat > %{buildroot}%{rpmmacrodir}/macros.%{name}-kmodsrc<< EOF %nvidia_kmodsrc_version %{version} EOF -%if 0%{?fedora} >= 25 +%if 0%{?fedora} # install AppData and add modalias provides mkdir -p %{buildroot}%{_datadir}/appdata/ install -pm 0644 %{SOURCE8} %{buildroot}%{_datadir}/appdata/