SPECS: kernel-net-e100.spec - new style bcond

paszczus paszczus at pld-linux.org
Fri Nov 18 09:43:46 CET 2005


Author: paszczus                     Date: Fri Nov 18 08:43:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new style bcond

---- Files affected:
SPECS:
   kernel-net-e100.spec (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: SPECS/kernel-net-e100.spec
diff -u SPECS/kernel-net-e100.spec:1.47 SPECS/kernel-net-e100.spec:1.48
--- SPECS/kernel-net-e100.spec:1.47	Sat Mar  5 18:36:53 2005
+++ SPECS/kernel-net-e100.spec	Fri Nov 18 09:43:40 2005
@@ -1,8 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-# _without_dist_kernel          without distribution kernel
-#
+%bcond_without	dist_kernel	# allow non-distribution kernel
+
 %define		_orig_name	e100
 
 
@@ -24,6 +24,9 @@
 %{!?_without_dist_kernel:BuildRequires:	kernel-source > 2.4 }
 BuildRequires:	%{kgcc_package}
 BuildRequires:	rpmbuild(macros) >= 1.118
+%ifarch sparc
+BuildRequires:	crosssparc64-gcc
+%endif
 %{!?_without_dist_kernel:%requires_releq_kernel_up}
 Requires(post,postun):	/sbin/depmod
 Provides:	kernel(e100)
@@ -31,6 +34,11 @@
 Obsoletes:	linux-net-e100
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%ifarch sparc
+%define         _target_base_arch       sparc64
+%define         _target_cpu             sparc64
+%endif
+
 %description
 This package contains the Linux driver for the Intel(R) PRO/100 family
 of 10/100 Ethernet network adapters.
@@ -119,6 +127,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.48  2005/11/18 08:43:40  paszczus
+- new style bcond
+
 Revision 1.47  2005/03/05 17:36:53  paszczus
 - reverted (i`m too tired)
 - 3.3.6 don`t build, need fixes
================================================================

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




More information about the pld-cvs-commit mailing list