Author: glen                         Date: Thu Apr 20 17:09:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new bcond

---- Files affected:
SPECS:
   nps.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/nps.spec
diff -u SPECS/nps.spec:1.10 SPECS/nps.spec:1.11
--- SPECS/nps.spec:1.10 Thu Apr 20 19:07:59 2006
+++ SPECS/nps.spec      Thu Apr 20 19:08:55 2006
@@ -1,10 +1,9 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-# _without_dist_kernel          without distribution kernel
-#
-%define                _vendor_rel 0
+%bcond_without dist_kernel          without distribution kernel
 
+%define                _vendor_rel 0
 Summary:       Platform Linux components
 Name:          nps
 Version:       2.3.0.9.%{_vendor_rel}
@@ -17,7 +16,7 @@
 Source0:       %{name}-V%{version}.tar.gz
 # Source0-md5: 5c843ff779f10722b314433b7e8f1210
 URL:           http://www.newisys.com/
-%{!?_without_dist_kernel:BuildRequires: kernel-headers }
+%{!?without_dist_kernel:BuildRequires: kernel-headers}
 Requires:      sed >= 4.0
 # we only support linux
 ExclusiveOS:   Linux
@@ -31,7 +30,7 @@
 Summary:       Linux driver for the
 License:       GPL
 Group:         Base/Kernel
-%{!?_without_dist_kernel:%requires_releq_kernel_up}
+%{!?without_dist_kernel:%requires_releq_kernel_up}
 Requires(post,postun): /sbin/depmod
 
 %prep
@@ -149,6 +148,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/04/20 17:08:55  glen
+- new bcond
+
 Revision 1.10  2006/04/20 17:07:59  glen
 - tabs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nps.spec?r1=1.10&r2=1.11&f=u

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to