Compare commits
10 Commits
b39c1e39cc
...
622d550afa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
622d550afa | ||
|
|
5cde8124fa | ||
|
|
965ef6e93d | ||
|
|
3d552b93e0 | ||
|
|
86c35af2fd | ||
|
|
f4033dd4f9 | ||
|
|
d20fa0d1ae | ||
|
|
9e6912453b | ||
|
|
4499f4de12 | ||
|
|
6cb1dc72b6 |
Binary file not shown.
BIN
dkms-3.0.12.tar.gz
Normal file
BIN
dkms-3.0.12.tar.gz
Normal file
Binary file not shown.
46
dkms.spec
46
dkms.spec
@ -1,12 +1,11 @@
|
||||
Summary: Dynamic Kernel Module Support Framework
|
||||
Name: dkms
|
||||
Version: 2.6.1
|
||||
Release: 5
|
||||
Version: 3.0.12
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
BuildArch: noarch
|
||||
URL: https://github.com/dell/dkms
|
||||
#source0 download address:https://github.com/dell/dkms/archive/v%{version}.tar.gz
|
||||
Source0: dkms-%{version}.tar.gz
|
||||
Source0: https://github.com/dell/dkms/archive/v%{version}.tar.gz#/dkms-%{version}.tar.gz
|
||||
# because Mandriva calls this package dkms-minimal
|
||||
Provides: dkms-minimal = %{version}
|
||||
Requires: coreutils
|
||||
@ -14,6 +13,7 @@ Requires: cpio
|
||||
Requires: findutils
|
||||
Requires: gawk
|
||||
Requires: gcc
|
||||
Requires: clang llvm lld
|
||||
Requires: grep
|
||||
Requires: gzip
|
||||
Requires: kernel-devel
|
||||
@ -27,6 +27,7 @@ Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
Requires: kernel-devel
|
||||
Recommends: openssl
|
||||
|
||||
%description
|
||||
This package contains the framework for the Dynamic Kernel Module Support (DKMS)
|
||||
@ -34,7 +35,7 @@ method for installing module RPMS as originally developed by Dell.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -88,13 +89,13 @@ echo ""
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install-redhat-systemd DESTDIR=$RPM_BUILD_ROOT \
|
||||
SBIN=$RPM_BUILD_ROOT%{_sbindir} \
|
||||
VAR=$RPM_BUILD_ROOT%{_localstatedir}/lib/%{name} \
|
||||
MAN=$RPM_BUILD_ROOT%{_mandir}/man8 \
|
||||
ETC=$RPM_BUILD_ROOT%{_sysconfdir}/%{name} \
|
||||
BASHDIR=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d \
|
||||
LIBDIR=$RPM_BUILD_ROOT%{_prefix}/lib/%{name}
|
||||
make install-redhat DESTDIR=%{buildroot}
|
||||
|
||||
# Move 40-dkms.install to read only area (no configuration file):
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/kernel/
|
||||
mv %{buildroot}%{_sysconfdir}/kernel/install.d %{buildroot}%{_prefix}/lib/kernel/
|
||||
|
||||
sed -i -e 's/# modprobe_on_install="true"/modprobe_on_install="true"/g' %{buildroot}%{_sysconfdir}/%{name}/framework.conf
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -115,18 +116,33 @@ fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc sample.spec sample.conf AUTHORS COPYING README.md
|
||||
%doc COPYING README.md images
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_prefix}/lib/%{name}
|
||||
%{_prefix}/lib/kernel/install.d/40-%{name}.install
|
||||
%{_mandir}/*/*
|
||||
%{_sbindir}/%{name}
|
||||
%{_localstatedir}/lib/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/%{name}
|
||||
%dir %{_sysconfdir}/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/framework.conf
|
||||
%dir %{_sysconfdir}/%{name}/framework.conf.d
|
||||
# these dirs are for plugins - owned by other packages
|
||||
%{_sysconfdir}/kernel/postinst.d/%{name}
|
||||
%{_sysconfdir}/kernel/prerm.d/%{name}
|
||||
%{_sysconfdir}/bash_completion.d/%{name}
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Oct 20 2023 chenyaqiang <chengyaqiang@huawei.com> - 3.0.12-1
|
||||
- update to 3.0.12
|
||||
|
||||
* Tue Sep 19 2023 liyunfei <liyunfei@huawei.com> - 2.6.1-8
|
||||
- Add clang compile support
|
||||
|
||||
* Mon Mar 27 2023 wangkai <wangkai385@h-partners.com> - 2.6.1-7
|
||||
- Change deprecated egrep for grep -E
|
||||
|
||||
* Mon Sep 7 2020 Ge Wang <wangge20@huawei.com> - 2.6.1-6
|
||||
- Modify the Source0 Url
|
||||
|
||||
* Fri Feb 14 2020 Tianfei <tianfei16@huawei.com> - 2.6.1-5
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user