template-specs: template-tcl.spec - tcl macros needed early

glen glen at pld-linux.org
Mon May 11 18:55:30 CEST 2009


Author: glen                         Date: Mon May 11 16:55:30 2009 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- tcl macros needed early

---- Files affected:
template-specs:
   template-tcl.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: template-specs/template-tcl.spec
diff -u template-specs/template-tcl.spec:1.3 template-specs/template-tcl.spec:1.4
--- template-specs/template-tcl.spec:1.3	Mon May 11 18:55:05 2009
+++ template-specs/template-tcl.spec	Mon May 11 18:55:24 2009
@@ -1,4 +1,13 @@
 # $Revision$, $Date$
+
+# as th tcl is broken, use rpmdb:
+#%%define		tcl_version		%(echo 'puts $tcl_version' | tclsh)
+%define		tcl_version		%(rpm -q --qf %{V} tcl-devel | cut -d. -f1,2)
+%define		tcl_sitearch	%{_libdir}/tcl%{tcl_version}
+# pld tcl doesn't use %{_datadir}
+#%%define		tcl_sitelib		%{_datadir}/tcl%{tcl_version}
+%define		tcl_sitelib		%{_libdir}/tcl%{tcl_version}
+
 Summary:	Tcl TEMPLATE
 Name:		tcl-TEMPLATE
 Version:	0.1
@@ -12,14 +21,6 @@
 Requires:	tcl >= %{tcl_version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# as th tcl is broken, use rpmdb:
-#%%define		tcl_version		%(echo 'puts $tcl_version' | tclsh)
-%define		tcl_version		%(rpm -q --qf %{V} tcl-devel | cut -d. -f1,2)
-%define		tcl_sitearch	%{_libdir}/tcl%{tcl_version}
-# pld tcl doesn't use %{_datadir}
-#%%define		tcl_sitelib		%{_datadir}/tcl%{tcl_version}
-%define		tcl_sitelib		%{_libdir}/tcl%{tcl_version}
-
 %description
 ....
 
@@ -52,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/05/11 16:55:24  glen
+- tcl macros needed early
+
 Revision 1.3  2009/05/11 16:55:05  glen
 - tcl_sitelib to %{_datadir} due our tcl rpm's not finished
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/template-tcl.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list