SPECS: zaptel.spec - fix only kernel build, one firmware obsolete

glen glen at pld-linux.org
Fri Apr 4 18:54:53 CEST 2008


Author: glen                         Date: Fri Apr  4 16:54:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix only kernel build, one firmware obsolete

---- Files affected:
SPECS:
   zaptel.spec (1.108 -> 1.109) 

---- Diffs:

================================================================
Index: SPECS/zaptel.spec
diff -u SPECS/zaptel.spec:1.108 SPECS/zaptel.spec:1.109
--- SPECS/zaptel.spec:1.108	Fri Apr  4 18:46:09 2008
+++ SPECS/zaptel.spec	Fri Apr  4 18:54:47 2008
@@ -23,10 +23,9 @@
 %undefine	with_userspace
 %endif
 
-%define		rel	4.1
+%define		rel	5
 %define		pname	zaptel
 %define		FIRMWARE_URL http://downloads.digium.com/pub/telephony/firmware/releases
-
 Summary:	Zaptel telephony device support
 Summary(pl.UTF-8):	Obsługa urządzeń telefonicznych Zaptel
 Name:		%{pname}%{_alt_kernel}
@@ -42,12 +41,10 @@
 # Source3-md5:	18e6e6879070a8d61068e1c87b8c2b22
 Source4:	%{FIRMWARE_URL}/zaptel-fw-oct6114-128-1.05.01.tar.gz
 # Source4-md5:	c46a13f468b53828dc5c78f0eadbefd4
-Source5:	%{FIRMWARE_URL}/zaptel-fw-tc400m-MR5.6.tar.gz
-# Source5-md5:	ec5c96f7508bfb0e0b8be768ea5f3aa2
-Source6:	%{FIRMWARE_URL}/zaptel-fw-vpmadt032-1.07.tar.gz
-# Source6-md5:	7916c630a68fcfd38ead6caf9b55e5a1
-Source7:	%{FIRMWARE_URL}/zaptel-fw-tc400m-MR6.12.tar.gz
-# Source7-md5:	c57f41fae88f129e14fcaf41e4df90dc
+Source5:	%{FIRMWARE_URL}/zaptel-fw-vpmadt032-1.07.tar.gz
+# Source5-md5:	7916c630a68fcfd38ead6caf9b55e5a1
+Source6:	%{FIRMWARE_URL}/zaptel-fw-tc400m-MR6.12.tar.gz
+# Source6-md5:	c57f41fae88f129e14fcaf41e4df90dc
 Patch0:		%{pname}-make.patch
 Patch1:		%{pname}-sangoma.patch
 Patch2:		%{pname}-oslec.patch
@@ -68,6 +65,11 @@
 %define	modules_2	wctdm,wcte11xp,wcusb,zaptel,ztd-eth,ztd-loc,ztdummy,ztdynamic
 %define	modules		%{modules_1},%{modules_2}
 
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define		_enable_debug_packages	0
+%endif
+
 %description
 Zaptel telephony device driver.
 
@@ -163,7 +165,7 @@
 %{?with_bristuff:%patch3 -p1}
 
 %if %{with kernel}
-for a in  %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7}; do
+for a in %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}; do
 	ln -s $a firmware
 	tar -C firmware -xzf $a
 done
@@ -177,13 +179,11 @@
 %endif
 
 %build
-%if %{with userspace}
 %configure
 %{__make} prereq zttest \
 	CC="%{__cc}" \
 	LDFLAGS="%{rpmldflags}" \
 	OPTFLAGS="%{rpmcflags}"
-%endif
 
 %if %{with kernel}
 %build_kernel_modules SUBDIRS=$PWD DOWNLOAD=$PWD/download-logger ZAP="-I$PWD" KSRC=%{_kernelsrcdir} -m %{modules}
@@ -287,6 +287,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.109  2008-04-04 16:54:47  glen
+- fix only kernel build, one firmware obsolete
+
 Revision 1.108  2008-04-04 16:46:09  glen
 - better firmware download handling
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zaptel.spec?r1=1.108&r2=1.109&f=u



More information about the pld-cvs-commit mailing list