SPECS (AC-branch): zaptel.spec - reordered patches - pass -lm - pa...

adamg adamg at pld-linux.org
Sun Nov 4 10:40:21 CET 2007


Author: adamg                        Date: Sun Nov  4 09:40:21 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- reordered patches
- pass -lm
- package zttool binary
- temporary disabled make and as_needed-fix patches (seems like not needed,
  needs review though)
- builds

---- Files affected:
SPECS:
   zaptel.spec (1.75.2.27 -> 1.75.2.28) 

---- Diffs:

================================================================
Index: SPECS/zaptel.spec
diff -u SPECS/zaptel.spec:1.75.2.27 SPECS/zaptel.spec:1.75.2.28
--- SPECS/zaptel.spec:1.75.2.27	Thu Nov  1 09:27:55 2007
+++ SPECS/zaptel.spec	Sun Nov  4 10:40:16 2007
@@ -39,8 +39,8 @@
 Source2:	%{name}.sysconfig
 Patch0:		%{name}-make.patch
 Patch1:		%{name}-sparc.patch
-Patch4:		%{name}-as_needed-fix.patch
-Patch5:		%{name}-sangoma.patch
+Patch2:		%{name}-as_needed-fix.patch
+Patch3:		%{name}-sangoma.patch
 URL:		http://www.asterisk.org/
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build}
@@ -136,15 +136,15 @@
 
 %prep
 %setup -q
-%patch0 -p1
+#%patch0 -p1
 %patch1 -p1
-%patch4 -p1
-%patch5 -p1
+#%patch2 -p1
+%patch3 -p1
 
 %build
 %{__make} prereq zttest \
 	CC="%{__cc}" \
-	LDFLAGS="%{rpmldflags}" \
+	LDFLAGS="%{rpmldflags} -lm" \
 	OPTFLAGS="%{rpmcflags}"
 
 %if %{with kernel}
@@ -156,7 +156,7 @@
 %{__make} ztcfg torisatool makefw ztmonitor ztspeed libtonezone.so \
 	fxstest fxotune gendigits \
 	CC="%{__cc} %{rpmcflags}" \
-	LDFLAGS="%{rpmldflags}"
+	LDFLAGS="%{rpmldflags} -lm"
 %endif
 
 %install
@@ -210,6 +210,7 @@
 %doc README ChangeLog
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zaptel.conf
 %attr(755,root,root) %{_sbindir}/ztcfg
+%attr(755,root,root) %{_sbindir}/zttool
 %attr(755,root,root) %{_libdir}/*.so.*
 %{_mandir}/man8/*
 
@@ -256,6 +257,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.75.2.28  2007/11/04 09:40:16  adamg
+- reordered patches
+- pass -lm
+- package zttool binary
+- temporary disabled make and as_needed-fix patches (seems like not needed,
+  needs review though)
+- builds
+
 Revision 1.75.2.27  2007/11/01 08:27:55  adamg
 - release 2 (rebuild against 2.6.16.56-1)
 
================================================================

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



More information about the pld-cvs-commit mailing list