--- rpms/slip-kmod/sme7/kmodtool-slip 2010/04/21 16:05:56 1.3 +++ rpms/slip-kmod/sme7/kmodtool-slip 2010/06/01 16:33:49 1.4 @@ -138,7 +138,7 @@ if [[ ! -z "\$modules" && -x "/sbin/weak fi %preun -n kmod-${kmod_name}${dashvariant} cp /usr/share/doc/kmod-${kmod_name}/${verrel}/modules${dashvariant} \ - > /var/run/rpm-kmod-${kmod_name}${dashvariant}-modules + /var/run/rpm-kmod-${kmod_name}${dashvariant}-modules EOF fi @@ -165,6 +165,7 @@ echo "%files -n kmod-${kmod_name if [ "" == "$kmp_override_filelist" ]; then echo "%defattr(644,root,root,755)" + echo "/etc/depmod.d/${kmod_name}.conf" echo "/lib/modules/${verrel}${variant}/" echo "%dir /usr/share/doc/kmod-${kmod_name}/${verrel}/" echo "/usr/share/doc/kmod-${kmod_name}/${verrel}/modules${dashvariant}"