138 |
fi |
fi |
139 |
%preun -n kmod-${kmod_name}${dashvariant} |
%preun -n kmod-${kmod_name}${dashvariant} |
140 |
cp /usr/share/doc/kmod-${kmod_name}/${verrel}/modules${dashvariant} \ |
cp /usr/share/doc/kmod-${kmod_name}/${verrel}/modules${dashvariant} \ |
141 |
> /var/run/rpm-kmod-${kmod_name}${dashvariant}-modules |
/var/run/rpm-kmod-${kmod_name}${dashvariant}-modules |
142 |
EOF |
EOF |
143 |
|
|
144 |
fi |
fi |
165 |
if [ "" == "$kmp_override_filelist" ]; |
if [ "" == "$kmp_override_filelist" ]; |
166 |
then |
then |
167 |
echo "%defattr(644,root,root,755)" |
echo "%defattr(644,root,root,755)" |
168 |
|
echo "/etc/depmod.d/${kmod_name}.conf" |
169 |
echo "/lib/modules/${verrel}${variant}/" |
echo "/lib/modules/${verrel}${variant}/" |
170 |
echo "%dir /usr/share/doc/kmod-${kmod_name}/${verrel}/" |
echo "%dir /usr/share/doc/kmod-${kmod_name}/${verrel}/" |
171 |
echo "/usr/share/doc/kmod-${kmod_name}/${verrel}/modules${dashvariant}" |
echo "/usr/share/doc/kmod-${kmod_name}/${verrel}/modules${dashvariant}" |