SPECS: newt.spec - use -ltcl instead of -ltcl8.4 to link whiptail ...

qboosh qboosh at pld-linux.org
Wed May 24 19:09:24 CEST 2006


Author: qboosh                       Date: Wed May 24 17:09:24 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use -ltcl instead of -ltcl8.4 to link whiptail (ready for tcl 8.5 now)
- optflags fix

---- Files affected:
SPECS:
   newt.spec (1.81 -> 1.82) 

---- Diffs:

================================================================
Index: SPECS/newt.spec
diff -u SPECS/newt.spec:1.81 SPECS/newt.spec:1.82
--- SPECS/newt.spec:1.81	Wed May 24 01:54:19 2006
+++ SPECS/newt.spec	Wed May 24 19:09:19 2006
@@ -31,7 +31,7 @@
 BuildRequires:	rpm-pythonprov
 #BuildRequires:	sgml-tools
 BuildRequires:	slang-devel >= 2.0.0
-%{?with_tcl:BuildRequires:	tcl-devel >= 8.3.2}
+%{?with_tcl:BuildRequires:	tcl-devel >= 8.4}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -168,7 +168,7 @@
 %patch4 -p1
 %patch5 -p1
 
-sed -i -e 's#gcc#%{__cc}#g' Makefile.in
+sed -i -e 's#gcc#%{__cc}#g;s,-g -O2,,g' Makefile.in
 
 %build
 %{__autoconf}
@@ -177,6 +177,8 @@
 
 %{__make} \
 	CC="%{__cc}" \
+	RPM_OPT_FLAGS="%{rpmcflags}" \
+	LIBTCL=-ltcl \
 	PROGS="whiptail %{?with_tcl:whiptcl.so} testgrid" \
 	%{!?with_python:SNACKSO=}
 
@@ -240,6 +242,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.82  2006/05/24 17:09:19  qboosh
+- use -ltcl instead of -ltcl8.4 to link whiptail (ready for tcl 8.5 now)
+- optflags fix
+
 Revision 1.81  2006/05/23 23:54:19  glen
 - compile snack files and remove .py sources; rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/newt.spec?r1=1.81&r2=1.82&f=u



More information about the pld-cvs-commit mailing list