-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathyum-plugin-nvidia.spec
52 lines (38 loc) · 1.32 KB
/
yum-plugin-nvidia.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Name: yum-plugin-nvidia
Version: 0.5
Release: 1%{?dist}
Summary: YUM plugin to handle Nvidia driver module packages
Group: System/Kernel
License: GPLv2+
URL: http://git.engineering.redhat.com/git/users/tbaeder/yum-plugin-nvidia.git/
BuildArch: noarch
Source0: nvidia-yum.py
Source1: nvidia.conf
Requires: python
%description
The nvidia yum plugin helps keeping the necessary nvidia kernel module
packages installed at all times.
%build
# Empty
%prep
# Empty
%install
mkdir -p %{buildroot}%{_sysconfdir}/yum/
mkdir -p %{buildroot}%{_sysconfdir}/yum/pluginconf.d/
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/yum/pluginconf.d/
mkdir -p %{buildroot}%{_prefix}/lib/yum-plugins/
install -m 644 %{SOURCE0} %{buildroot}%{_prefix}/lib/yum-plugins/nvidia.py
%files
%{_prefix}/lib/yum-plugins/nvidia.py*
%config(noreplace) %{_sysconfdir}/yum/pluginconf.d/nvidia.conf
%changelog
* Tue Sep 03 2019 Timm Bäder <tbaeder@redhat.com> 0.5-1
- Print warning when kmod package not found
* Mon Jun 24 2019 Timm Bäder <tbaeder@redhat.com> 0.4-1
- Remove debugging line
* Wed May 15 2019 Timm Bäder <tbaeder@redhat.com> 0.3-1
- Replace startsWith with regex
* Tue Apr 16 2019 Timm Bäder <tbaeder@redhat.com> 0.2-1
- Stop yum from automatically updating kmod packages
* Thu Jun 21 2018 Timm Bäder <tbaeder@redhat.com> 0.1-1
- Initial revision