SPECS: tcl.spec - rel 3; fix sed correction

arekm arekm at pld-linux.org
Fri Dec 28 17:52:04 CET 2007


Author: arekm                        Date: Fri Dec 28 16:52:04 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 3; fix sed correction

---- Files affected:
SPECS:
   tcl.spec (1.127 -> 1.128) 

---- Diffs:

================================================================
Index: SPECS/tcl.spec
diff -u SPECS/tcl.spec:1.127 SPECS/tcl.spec:1.128
--- SPECS/tcl.spec:1.127	Fri Dec 28 14:38:49 2007
+++ SPECS/tcl.spec	Fri Dec 28 17:51:58 2007
@@ -13,7 +13,7 @@
 %define	major 8.5
 %define minor 0
 Version:	%{major}.%{minor}
-Release:	2
+Release:	3
 License:	BSD
 Group:		Development/Languages/Tcl
 Source0:	http://dl.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
@@ -138,8 +138,12 @@
 %{__make} \
 	TCL_PACKAGE_PATH="%{_libdir} %{_libdir}/tcl%{major} %{_ulibdir} %{_ulibdir}/tcl%{major}"
 
-sed -i -e "s#%{_builddir}/%{name}%{version}%{rel}/unix#%{_libdir}#; \
-	s#%{_builddir}/%{name}%{version}%{rel}#%{_includedir}/tcl-private#" tclConfig.sh
+cp -a tclConfig.sh tclConfig.sh-orig
+sed -i -e "s#%{_builddir}/%{name}%{version}/unix#%{_libdir}#; \
+	s#%{_builddir}/%{name}%{version}#%{_includedir}/tcl-private#" tclConfig.sh
+if (cmp -s tclConfig.sh tclConfig.sh-orig); then
+	echo "tclConfig.sh fix rule didn't change anything. Please verify it."
+fi
 
 %if %{with tests}
 # tests that are problematic on builders; some probably could be fixed
@@ -349,6 +353,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.128  2007-12-28 16:51:58  arekm
+- rel 3; fix sed correction
+
 Revision 1.127  2007-12-28 13:38:49  arekm
 - rel 2; more problematic tests
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tcl.spec?r1=1.127&r2=1.128&f=u



More information about the pld-cvs-commit mailing list