rpms/tcl-snack/F-8 tcl-snack.spec,1.2,1.3

Tom Callaway spot at fedoraproject.org
Thu Sep 18 15:31:39 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/tcl-snack/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29798/F-8

Modified Files:
	tcl-snack.spec 
Log Message:
go back to hardcoding, get it right for f8


Index: tcl-snack.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcl-snack/F-8/tcl-snack.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tcl-snack.spec	17 Sep 2008 19:05:33 -0000	1.2
+++ tcl-snack.spec	18 Sep 2008 15:31:08 -0000	1.3
@@ -1,11 +1,15 @@
-%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
+# We used to define this dynamically, but the Fedora buildsystem chokes on
+# using this for the versioned Requires on tcl(abi), so we hardcode it.
+# This sucks, but there is no other clean way around it, because tcl
+# (and tclsh) aren't in the default buildroot.
+%{!?tcl_version: %define tcl_version 8.4}
 %{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %define realname snack
 
 Name:		tcl-%{realname}
 Version:	2.2.10
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Sound toolkit
 Group:		System Environment/Libraries
 License:	GPLv2+
@@ -97,6 +101,9 @@
 %{python_sitelib}/tkSnack*
 
 %changelog
+* Thu Sep 18 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.2.10-4
+- *sigh* hardcoding the tcl version is the only way to get it through the buildsystem
+
 * Wed Sep 17 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.2.10-3
 - don't hardcode tcl abi version
 




More information about the fedora-extras-commits mailing list