%global debug_package %{nil} %global _default_patch_fuzz 2 %global dkms_name nvidia Name: dkms-%{dkms_name} Version: 555.42.02 Release: 2%{?dist} Summary: NVIDIA display driver kernel module Epoch: 3 License: NVIDIA License URL: http://www.nvidia.com/object/unix.html # Package is not noarch as it contains pre-compiled binary code ExclusiveArch: x86_64 Source0: %{dkms_name}-kmod-%{version}-x86_64.tar.xz Source1: %{name}.conf Source2: dkms-no-weak-modules.conf # Patch1: 0001-NVIDIA-take-modeset-ownership-early.patch BuildRequires: sed Provides: %{dkms_name}-kmod = %{?epoch:%{epoch}:}%{version} Requires: %{dkms_name}-kmod-common = %{?epoch:%{epoch}:}%{version} Requires: dkms %description This package provides the proprietary Nvidia kernel driver modules. The modules are rebuilt through the DKMS system when a new kernel or modules become available. %prep %autosetup -p1 -n %{dkms_name}-kmod-%{version}-x86_64 cp -f %{SOURCE1} kernel/dkms.conf sed -i -e 's/__VERSION_STRING/%{version}/g' kernel/dkms.conf %build %install # Create empty tree: mkdir -p %{buildroot}%{_usrsrc}/%{dkms_name}-%{version}/ cp -fr kernel/* %{buildroot}%{_usrsrc}/%{dkms_name}-%{version}/ %if 0%{?fedora} # Do not enable weak modules support in Fedora (no kABI): install -p -m 644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{dkms_name}.conf %endif %post dkms add -m %{dkms_name} -v %{version} -q || : # Rebuild and make available for the currently running kernel: dkms build -m %{dkms_name} -v %{version} -q || : dkms install -m %{dkms_name} -v %{version} -q --force || : %preun # Remove all versions from DKMS registry: dkms remove -m %{dkms_name} -v %{version} -q --all || : %files %{_usrsrc}/%{dkms_name}-%{version} %if 0%{?fedora} %{_sysconfdir}/dkms/%{dkms_name}.conf %endif %changelog * Tue Nov 29 2022 Simone Caronni - 3:525.60.11-1 - Update to 525.60.11. * Thu Oct 13 2022 Simone Caronni - 3:520.56.06-1 - Update to 520.56.06. * Wed Sep 21 2022 Simone Caronni - 3:515.76-1 - Update to 515.76. * Mon Aug 08 2022 Simone Caronni - 3:515.65.01-1 - Update to 515.65.01. * Wed Jun 29 2022 Simone Caronni - 3:515.57-1 - Update to 515.57. * Wed Jun 01 2022 Simone Caronni - 3:515.48.07-1 - Update to 515.48.07. * Thu May 12 2022 Simone Caronni - 3:515.43.04-1 - Update to 515.43.04. * Mon May 02 2022 Simone Caronni - 3:510.68.02-1 - Update to 510.68.02. * Mon Mar 28 2022 Simone Caronni - 3:510.60.02-1 - Update to 510.60.02. * Mon Feb 14 2022 Simone Caronni - 3:510.54-1 - Update to 510.54. * Wed Feb 02 2022 Simone Caronni - 3:510.47.03-1 - Update to 510.47.03. * Tue Dec 14 2021 Simone Caronni - 3:495.46-1 - Update to 495.46. * Thu Nov 04 2021 Simone Caronni - 3:495.44-2 - Fix typo in dkms configuration file installation. * Tue Nov 02 2021 Simone Caronni - 3:495.44-1 - Update to 495.44. * Tue Nov 02 2021 Simone Caronni - 3:470.82.00-1 - Update to 470.82.00. * Tue Sep 21 2021 Simone Caronni - 3:470.74-1 - Update to 470.74. * Wed Aug 11 2021 Simone Caronni - 3:470.63.01-1 - Update to 470.63.01. * Tue Jul 20 2021 Simone Caronni - 3:470.57.02-1 - Update to 470.57.02. * Wed Jun 30 2021 Simone Caronni - 3:470.42.01-1 - Update to 470.42.01. * Wed May 26 2021 Simone Caronni - 3:465.31-1 - Update to 465.31. * Sat May 01 2021 Simone Caronni - 3:465.27-1 - Update to 465.27. * Sun Apr 18 2021 Simone Caronni - 3:465.24.02-1 - Update to 465.24.02. * Fri Apr 09 2021 Simone Caronni - 3:465.19.01-1 - Update to 465.19.01. * Fri Mar 19 2021 Simone Caronni - 3:460.67-1 - Update to 460.67. * Mon Mar 01 2021 Simone Caronni - 3:460.56-1 - Update to 460.56. * Wed Jan 27 2021 Simone Caronni - 3:460.39-1 - Update to 460.39. * Thu Jan 7 2021 Simone Caronni - 3:460.32.03-1 - Update to 460.32.03. * Sun Dec 20 2020 Simone Caronni - 3:460.27.04-1 - Update to 460.27.04. - Trim changelog. - Do not enable weak module support on Fedora. * Sun Nov 29 2020 Simone Caronni - 3:455.45.01-2 - Add temporary patch for memory allocation: https://forums.developer.nvidia.com/t/455-23-04-page-allocation-failure-in-kernel-module-at-random-points/155250 * Wed Nov 18 2020 Simone Caronni - 3:455.45.01-1 - Update to 455.45.01. * Mon Nov 02 2020 Simone Caronni - 3:455.38-1 - Update to 455.38. * Mon Oct 12 2020 Simone Caronni - 3:455.28-1 - Update to 455.28. * Tue Oct 06 2020 Simone Caronni - 3:450.80.02-1 - Update to 450.80.02. * Thu Aug 20 2020 Simone Caronni - 3:450.66-1 - Update to 450.66. * Fri Jul 10 2020 Simone Caronni - 3:450.57-1 - Update to 450.57. * Thu Jun 25 2020 Simone Caronni - 3:440.100-1 - Update to 440.100. * Thu Apr 09 2020 Simone Caronni - 3:440.82-1 - Update to 440.82. * Fri Feb 28 2020 Simone Caronni - 3:440.64-1 - Update to 440.64. * Tue Feb 04 2020 Simone Caronni - 3:440.59-1 - Update to 440.59. * Sat Dec 14 2019 Simone Caronni - 3:440.44-1 - Update to 440.44. * Sat Nov 30 2019 Simone Caronni - 3:440.36-1 - Update to 440.36. * Sat Nov 09 2019 Simone Caronni - 3:440.31-1 - Update to 440.31. * Thu Oct 17 2019 Simone Caronni - 3:440.26-1 - Update to 440.26. * Tue Sep 03 2019 Simone Caronni - 3:435.21-1 - Update to 435.21. * Thu Aug 22 2019 Simone Caronni - 3:435.17-1 - Update to 435.17. * Wed Jul 31 2019 Simone Caronni - 3:430.40-1 - Update to 430.40. * Fri Jul 12 2019 Simone Caronni - 3:430.34-1 - Update to 430.34. * Wed Jun 12 2019 Simone Caronni - 3:430.26-1 - Update to 430.26. * Sat May 18 2019 Simone Caronni - 3:430.14-1 - Update to 430.14. * Thu May 09 2019 Simone Caronni - 3:418.74-1 - Update to 418.74. * Sun Mar 24 2019 Simone Caronni - 3:418.56-1 - Update to 418.56. * Fri Feb 22 2019 Simone Caronni - 3:418.43-1 - Update to 418.43. - Trim changelog. * Wed Feb 06 2019 Simone Caronni - 3:418.30-1 - Update to 418.30. * Sun Feb 03 2019 Simone Caronni - 3:415.27-2 - Do not require nvidia-driver, require nvidia-kmod-common. * Thu Jan 17 2019 Simone Caronni - 3:415.27-1 - Update to 415.27.