Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
622d550afa
!24 update to 3.0.12
From: @yaqiangchen 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2023-10-24 01:31:11 +00:00
yaqiangchen
5cde8124fa update to 3.0.12 2023-10-23 17:50:41 +08:00
openeuler-ci-bot
965ef6e93d
!22 Add clang compile support
From: @liyunfei33 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2023-09-19 13:06:14 +00:00
liyunfei
3d552b93e0 Add clang compile support
Backport commit 6ddb09145930b03c88e63f5930e718a33501024d Support CC=clang and LD=ld.lld & add clang llvm lld requires
2023-09-19 20:04:04 +08:00
openeuler-ci-bot
86c35af2fd
!20 [sync] PR-19: Change deprecated egrep for grep -E
From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2023-03-27 06:12:16 +00:00
wk333
f4033dd4f9 Change deprecated egrep for grep -E
(cherry picked from commit 513c77f4eaf7df8bf5641a17dd7832e4d6277b0b)
2023-03-27 10:59:42 +08:00
openeuler-ci-bot
d20fa0d1ae !4 Modify Source0 Url of package dkms
From: @wang--ge
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-09-11 11:54:54 +08:00
wangge
9e6912453b Modify Source0 Url 2020-09-11 11:15:48 +08:00
openeuler-ci-bot
4499f4de12 !3 add yaml file
Merge pull request !3 from Captain.Wei/master
2020-05-13 17:26:21 +08:00
Captain Wei
6cb1dc72b6 add yaml file 2020-05-09 15:35:26 +08:00
4 changed files with 35 additions and 15 deletions

Binary file not shown.

BIN
dkms-3.0.12.tar.gz Normal file

Binary file not shown.

View File

@ -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

4
dkms.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: dell/dkms
tag_prefix: ^v
seperator: .