- added depmod options so modules can be installed for kernel other than running
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 14 May 2003 14:42:43 +0000 (14:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    davfs.spec -> 1.11

davfs.spec

index 47ecbb0..1043abf 100644 (file)
@@ -1,7 +1,7 @@
-
-# conditional build
+#
+# Conditional build:
 # _without_dist_kernel          without kernel from distribution
-
+#
 %define                _rel    1
 
 Summary:       Web-based Distributed Authoring and Versioning
@@ -123,16 +123,16 @@ ln -sf %{_sbindir}/mount.davfs $RPM_BUILD_ROOT/sbin/mount.davfs
 rm -rf $RPM_BUILD_ROOT
 
 %post   -n kernel-fs-davfs
-/sbin/depmod -a
+/sbin/depmod -a -F /boot/System.map-%{_kernel_ver} %{_kernel_ver}
 
 %postun -n kernel-fs-davfs
-/sbin/depmod -a
+/sbin/depmod -a -F /boot/System.map-%{_kernel_ver} %{_kernel_ver}
 
 %post   -n kernel-smp-fs-davfs
-/sbin/depmod -a
+/sbin/depmod -a -F /boot/System.map-%{_kernel_ver}smp %{_kernel_ver}smp
 
 %postun -n kernel-smp-fs-davfs
-/sbin/depmod -a
+/sbin/depmod -a -F /boot/System.map-%{_kernel_ver}smp %{_kernel_ver}smp
 
 %files
 %defattr(644,root,root,755)
This page took 0.029983 seconds and 4 git commands to generate.