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

e1000.spec

index 2dd4ff235ad729232d1fffc37367ff253bc75357..ef3c61d370f40749d3a8bc3c23c251be127952a3 100644 (file)
@@ -17,6 +17,7 @@ Source0:      ftp://aiedownload.intel.com/df-support/4833/eng/%{_orig_name}-%{version
 # Source0-md5: eabb4c64beb14755c56b191a2fdc767a
 %{!?_without_dist_kernel:BuildRequires:         kernel-headers > 2.4 }
 BuildRequires: %{kgcc_package}
+BuildRequires: rpmbuild(macros) >= 1.118
 URL:           http://support.intel.com/support/network/adapter/pro100/
 %{!?_without_dist_kernel:%requires_releq_kernel_up}
 Requires(post,postun): /sbin/depmod
@@ -76,16 +77,16 @@ install src/%{_orig_name}.o $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/%{_o
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/depmod -a %{!?_without_dist_kernel:-F /boot/System.map-%{_kernel_ver} }%{_kernel_ver}
+%depmod %{_kernel_ver}
 
 %postun
-/sbin/depmod -a %{!?_without_dist_kernel:-F /boot/System.map-%{_kernel_ver} }%{_kernel_ver}
+%depmod %{_kernel_ver}
 
 %post  -n kernel-smp-net-%{_orig_name}
-/sbin/depmod -a %{!?_without_dist_kernel:-F /boot/System.map-%{_kernel_ver}smp }%{_kernel_ver}smp
+%depmod %{_kernel_ver}smp
 
 %postun -n kernel-smp-net-%{_orig_name}
-/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.031963 seconds and 4 git commands to generate.