SPECS: zaptel.spec - bcond with oslec

areq areq at pld-linux.org
Sat Jun 9 18:40:19 CEST 2007


Author: areq                         Date: Sat Jun  9 16:40:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond with oslec

---- Files affected:
SPECS:
   zaptel.spec (1.87 -> 1.88) 

---- Diffs:

================================================================
Index: SPECS/zaptel.spec
diff -u SPECS/zaptel.spec:1.87 SPECS/zaptel.spec:1.88
--- SPECS/zaptel.spec:1.87	Sat Jun  9 15:48:41 2007
+++ SPECS/zaptel.spec	Sat Jun  9 18:40:14 2007
@@ -4,8 +4,9 @@
 %bcond_without	dist_kernel	# without distribution kernel
 %bcond_without	kernel		# don't build kernel modules
 %bcond_without	userspace	# don't build userspace tools
+%bcond_with	oslec		# with Open Source Line Echo Canceller
 #
-%define	_rel	1
+%define	_rel	2
 Summary:	Zaptel telephony device support
 Summary(pl.UTF-8):	Obsługa urządzeń telefonicznych Zaptel
 Name:		zaptel
@@ -96,6 +97,7 @@
 %if %{with dist_kernel}
 %requires_releq_kernel
 Requires(postun):	%releq_kernel
+%{?with_oslec:Requires:	kernel-misc-oslec = 20070608-0.1@%{_kernel_ver_str}}
 %endif
 
 %description -n kernel-%{name}
@@ -108,7 +110,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
+%{?with_oslec:%patch2 -p1}
 
 %define buildconfigs %{?with_dist_kernel:dist}%{!?with_dist_kernel:nondist}
 
@@ -249,6 +251,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.88  2007/06/09 16:40:14  areq
+- bcond with oslec
+
 Revision 1.87  2007/06/09 13:48:41  areq
 - 1.4.3
 - add oslec.patch Open Source Line Echo Canceller
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/zaptel.spec?r1=1.87&r2=1.88&f=u



More information about the pld-cvs-commit mailing list