- added using depmod macro
authortrojan <trojan@pld-linux.org>
Thu, 10 Jul 2003 12:52:26 +0000 (12:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    davfs.spec -> 1.15

davfs.spec

index fdf4c73..975e53a 100644 (file)
@@ -20,6 +20,7 @@ URL:          http://dav.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: %{kgcc_package}
 BuildRequires: openssl-devel >= 0.9.7
+BuildRequires: rpmbuild(macros) >= 1.118
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc
@@ -124,16 +125,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 %{!?_without_dist_kernel:-F /boot/System.map-%{_kernel_ver} }%{_kernel_ver}
+%depmod %{_kernel_ver}
 
 %postun -n kernel-fs-davfs
-/sbin/depmod -a %{!?_without_dist_kernel:-F /boot/System.map-%{_kernel_ver} }%{_kernel_ver}
+%depmod %{_kernel_ver}
 
 %post   -n kernel-smp-fs-davfs
-/sbin/depmod -a %{!?_without_dist_kernel:-F /boot/System.map-%{_kernel_ver}smp }%{_kernel_ver}smp
+%depmod %{_kernel_ver}smp
 
 %postun -n kernel-smp-fs-davfs
-/sbin/depmod -a %{!?_without_dist_kernel:-F /boot/System.map-%{_kernel_ver}smp }%{_kernel_ver}smp
+%depmod %{_kernel_ver}smp
 
 %files
 %defattr(644,root,root,755)
This page took 0.035256 seconds and 4 git commands to generate.