SPECS: tcl.spec - fix paths in tclConfig.sh

arekm arekm at pld-linux.org
Tue Sep 6 19:41:46 CEST 2005


Author: arekm                        Date: Tue Sep  6 17:41:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix paths in tclConfig.sh

---- Files affected:
SPECS:
   tcl.spec (1.103 -> 1.104) 

---- Diffs:

================================================================
Index: SPECS/tcl.spec
diff -u SPECS/tcl.spec:1.103 SPECS/tcl.spec:1.104
--- SPECS/tcl.spec:1.103	Tue Sep  6 19:31:50 2005
+++ SPECS/tcl.spec	Tue Sep  6 19:41:41 2005
@@ -114,9 +114,8 @@
 
 %build
 cd unix
-sed -e "s/^CFLAGS_OPTIMIZE.*/CFLAGS_OPTIMIZE=%{rpmcflags} -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_REENTRANT/" \
-	Makefile.in > Makefile.in.new
-mv -f Makefile.in.new Makefile.in
+sed -i -e "s/^CFLAGS_OPTIMIZE.*/CFLAGS_OPTIMIZE=%{rpmcflags} -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_REENTRANT/" \
+	Makefile.in
 %{__autoconf}
 %configure \
 	--enable-langinfo \
@@ -128,7 +127,7 @@
 	TCL_PACKAGE_PATH="%{_libdir} %{_libdir}/tcl%{major} %{_ulibdir} %{_ulibdir}/tcl%{major}"
 
 sed -i -e "s#%{_builddir}/%{name}%{version}/unix#%{_libdir}#; \
-	s#%{_builddir}/%{name}%{version}#%{_includedir}#" tclConfig.sh
+	s#%{_builddir}/%{name}%{version}#%{_includedir}/tcl-private#" tclConfig.sh
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -189,6 +188,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.104  2005/09/06 17:41:41  arekm
+- fix paths in tclConfig.sh
+
 Revision 1.103  2005/09/06 17:31:50  arekm
 - provide more complete internal headers set in includedir/tcl-private (tcl needs for example it's own regexp.h)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tcl.spec?r1=1.103&r2=1.104&f=u




More information about the pld-cvs-commit mailing list