SPECS: kernel-video-quickcam.spec - new bcond style

darekr darekr at pld-linux.org
Sat Apr 8 23:03:18 CEST 2006


Author: darekr                       Date: Sat Apr  8 21:03:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new bcond style

---- Files affected:
SPECS:
   kernel-video-quickcam.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/kernel-video-quickcam.spec
diff -u SPECS/kernel-video-quickcam.spec:1.30 SPECS/kernel-video-quickcam.spec:1.31
--- SPECS/kernel-video-quickcam.spec:1.30	Mon Jun  6 00:09:52 2005
+++ SPECS/kernel-video-quickcam.spec	Sat Apr  8 23:03:13 2006
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-# _without_dist_kernel          without distribution kernel
+%bcond_without dist_kernel	# without distribution kernel
 #
 Summary:	Kernel module for Logitech QuickCam USB cameras
 Summary(pl):	Moduł jądra do kamer USB Logitech QuickCam
@@ -14,9 +14,9 @@
 Source0:	http://dl.sourceforge.net/qce-ga/qce-ga-%{version}.tar.gz
 # Source0-md5:	afd7895c90aef62c29d2ffa7beb63961
 URL:		http://qce-ga.sourceforge.net/
-%{!?_without_dist_kernel:BuildRequires:	kernel-headers >= 2.2.0 }
+%{?with_dist_kernel:BuildRequires:	kernel-headers >= 2.2.0 }
 BuildRequires:	rpmbuild(macros) >= 1.118
-%{!?_without_dist_kernel:%requires_releq_kernel_up}
+%{?with_dist_kernel:%requires_releq_kernel_up}
 Requires(post,postun):	/sbin/depmod
 Requires(post,postun):	modutils >= 2.3.18-2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,7 +32,7 @@
 Summary(pl):	Moduł jądra SMP do kamer USB Logitech QuickCam
 Release:	%{_rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
-%{!?_without_dist_kernel:%requires_releq_kernel_smp}
+%{?with_dist_kernel:%requires_releq_kernel_smp}
 Requires(post,postun):	/sbin/depmod
 Requires(post,postun):	modutils >= 2.3.18-2
 
@@ -116,6 +116,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2006/04/08 21:03:13  darekr
+- new bcond style
+
 Revision 1.30  2005/06/05 22:09:52  paszczus
 - updated to 0.40d
 - cleanup
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-video-quickcam.spec?r1=1.30&r2=1.31&f=u



More information about the pld-cvs-commit mailing list