SPECS (ASTERISK_1_4): asterisk.spec - fix zhone bcond and chan_dahdi build ...

arekm arekm at pld-linux.org
Sat Nov 22 20:38:34 CET 2008


Author: arekm                        Date: Sat Nov 22 19:38:34 2008 GMT
Module: SPECS                         Tag: ASTERISK_1_4
---- Log message:
- fix zhone bcond and chan_dahdi build with zaptel

---- Files affected:
SPECS:
   asterisk.spec (1.126 -> 1.126.2.1) 

---- Diffs:

================================================================
Index: SPECS/asterisk.spec
diff -u SPECS/asterisk.spec:1.126 SPECS/asterisk.spec:1.126.2.1
--- SPECS/asterisk.spec:1.126	Fri Oct  3 12:46:02 2008
+++ SPECS/asterisk.spec	Sat Nov 22 20:38:28 2008
@@ -51,6 +51,7 @@
 Patch14:	%{name}-bristuff.patch
 Patch15:	%{name}-bristuff-build.patch
 Patch16:	%{name}-bristuff-libpri.patch
+Patch17:	%{name}-r150557.patch
 URL:		http://www.asterisk.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -136,7 +137,7 @@
 %prep
 %setup -q -n %{name}-%{version}
 
-%{?with_zhone:sed -i -e 's|.*#define.*ZHONE_HACK.*|#define ZHONE_HACK 1|g' channels/chan_zap.c}
+%{?with_zhone:sed -i -e 's|.*#define.*ZHONE_HACK.*|#define ZHONE_HACK 1|g' channels/chan_dahdi.c}
 
 %patch0 -p0
 #%patch1 -p1
@@ -163,6 +164,7 @@
 %patch15 -p1
 %patch16 -p1
 %endif
+%patch17 -p2
 
 sed -i -e "s#/usr/lib/#/usr/%{_lib}/#g#" Makefile
 
@@ -210,7 +212,7 @@
 #%{__make} progdocs
 
 # safe checks
-%{?with_bristuff:objdump -p channels/chan_zap.so | grep -qE 'NEEDED +libgsmat\.so' || exit 1}
+%{?with_bristuff:objdump -p channels/chan_dahdi.so | grep -qE 'NEEDED +libgsmat\.so' || exit 1}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -319,6 +321,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.126.2.1  2008/11/22 19:38:28  arekm
+- fix zhone bcond and chan_dahdi build with zaptel
+
 Revision 1.126  2008/10/03 10:46:02  arekm
 - up to 1.4.22
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/asterisk.spec?r1=1.126&r2=1.126.2.1&f=u



More information about the pld-cvs-commit mailing list