SPECS (AC-branch): kernel-net-e100.spec - fix build by adding bconds

shadzik shadzik at pld-linux.org
Sun Mar 25 05:10:36 CEST 2007


Author: shadzik                      Date: Sun Mar 25 03:10:36 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- fix build by adding bconds

---- Files affected:
SPECS:
   kernel-net-e100.spec (1.49.2.2 -> 1.49.2.3) 

---- Diffs:

================================================================
Index: SPECS/kernel-net-e100.spec
diff -u SPECS/kernel-net-e100.spec:1.49.2.2 SPECS/kernel-net-e100.spec:1.49.2.3
--- SPECS/kernel-net-e100.spec:1.49.2.2	Sun Mar 25 04:38:21 2007
+++ SPECS/kernel-net-e100.spec	Sun Mar 25 05:10:31 2007
@@ -2,6 +2,8 @@
 #
 # Conditional build:
 %bcond_without	dist_kernel	# allow non-distribution kernel
+%bcond_without	smp		# don't build SMP module
+%bcond_without	up		# don't build UP module
 
 %define		_orig_name	e100
 
@@ -87,11 +89,13 @@
 /etc/modprobe.d/%{_kernel_ver}/e100.conf
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/*
 
+%if %{with smp} && %{with dist_kernel}
 %files -n kernel-smp-net-%{_orig_name}
 %defattr(644,root,root,755)
 %doc e100.7 README LICENSE
-/etc/modprobe.d/%{_kernel_ver}/e100.conf
+/etc/modprobe.d/%{_kernel_ver}smp/e100.conf
 /lib/modules/%{_kernel_ver}smp/kernel/drivers/net/*
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -99,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49.2.3  2007/03/25 03:10:31  shadzik
+- fix build by adding bconds
+
 Revision 1.49.2.2  2007/03/25 02:38:21  shadzik
 - fix install
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-net-e100.spec?r1=1.49.2.2&r2=1.49.2.3&f=u



More information about the pld-cvs-commit mailing list