diff --git a/dkms.spec b/dkms.spec index 71ff1f6..3a3c7d4 100644 --- a/dkms.spec +++ b/dkms.spec @@ -1,5 +1,5 @@ Name: dkms -Version: 3.0.11 +Version: 3.0.12 Release: 1mamba Summary: Dynamic Kernel Module Support Group: System/Tools @@ -29,12 +29,7 @@ DKMS stands for Dynamic Kernel Module Support. It is designed to create a framew %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -make install-redhat DESTDIR=%{buildroot} SYSTEMD=%{buildroot}%{_unitdir} - -#install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/dkms.service -#install -D -m0755 %{SOURCE2} %{buildroot}%{_prefix}/lib/systemd/scripts/dkms - -#rm -f %{buildroot}%{_initrddir}/dkms_autoinstaller +make install-redhat DESTDIR=%{buildroot} install -d %{buildroot}%{_presetdir} cat > %{buildroot}%{_presetdir}/50-dkms.preset << _EOF @@ -76,15 +71,18 @@ find /var/lib/dkms -xtype l -exec rm -f {} \; #%{_sysconfdir}/dkms/template-dkms-mkrpm.spec #%{_sysconfdir}/dkms/template-dkms-redhat-kmod.spec %{_sysconfdir}/dkms/framework.conf -%{_sysconfdir}/kernel/install.d/dkms +%dir %{_sysconfdir}/kernel/install.d +%{_sysconfdir}/kernel/install.d/40-dkms.install +%dir %{_sysconfdir}/kernel/postinst.d %{_sysconfdir}/kernel/postinst.d/dkms +%dir %{_sysconfdir}/kernel/prerm.d %{_sysconfdir}/kernel/prerm.d/dkms %{_sbindir}/dkms %dir %{_prefix}/lib/dkms %{_prefix}/lib/dkms/common.postinst %{_prefix}/lib/dkms/dkms_autoinstaller -%{_prefix}/lib/dkms/find-provides -%{_prefix}/lib/dkms/lsb_release +#%{_prefix}/lib/dkms/find-provides +#%{_prefix}/lib/dkms/lsb_release #%{_prefix}/lib/dkms/mkkerneldoth %dir %{_localstatedir}/lib/dkms #%{_localstatedir}/lib/dkms/dkms_dbversion @@ -95,6 +93,9 @@ find /var/lib/dkms -xtype l -exec rm -f {} \; %doc COPYING %changelog +* Mon Oct 02 2023 Automatic Build System 3.0.12-1mamba +- automatic version update by autodist + * Fri Apr 28 2023 Automatic Build System 3.0.11-1mamba - automatic version update by autodist