SPECS: asterisk.spec One more safe check. asterisk build system is very ugl...

arekm arekm at pld-linux.org
Fri Jul 18 22:08:25 CEST 2008


Author: arekm                        Date: Fri Jul 18 20:08:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
One more safe check. asterisk build system is very ugly and error prone.

---- Files affected:
SPECS:
   asterisk.spec (1.122 -> 1.123) 

---- Diffs:

================================================================
Index: SPECS/asterisk.spec
diff -u SPECS/asterisk.spec:1.122 SPECS/asterisk.spec:1.123
--- SPECS/asterisk.spec:1.122	Fri Jul 18 08:29:37 2008
+++ SPECS/asterisk.spec	Fri Jul 18 22:08:20 2008
@@ -209,6 +209,9 @@
 # it requires doxygen - I don't know if we should do this...
 #%{__make} progdocs
 
+# safe checks
+%{?with_bristuff:objdump -p channels/chan_zap.so | grep -qE 'NEEDED +libgsmat\.so' || exit 1}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/var/{log/asterisk/cdr-csv,spool/asterisk/monitor},/etc/{rc.d/init.d,sysconfig,logrotate.d}}
@@ -316,6 +319,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.123  2008/07/18 20:08:20  arekm
+One more safe check. asterisk build system is very ugly and error prone.
+
 Revision 1.122  2008/07/18 06:29:37  arekm
 - move bristuff marker to release; make sure that gsmat is detected when building with bristuff
 
================================================================

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



More information about the pld-cvs-commit mailing list