rpms/tcl-tile/devel tcl-tile.spec,1.2,1.3
Tom Callaway
spot at fedoraproject.org
Wed Sep 17 20:18:01 UTC 2008
Author: spot
Update of /cvs/pkgs/rpms/tcl-tile/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10005/devel
Modified Files:
tcl-tile.spec
Log Message:
no, we really do need to hardcode. :(
Index: tcl-tile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcl-tile/devel/tcl-tile.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tcl-tile.spec 17 Sep 2008 19:09:34 -0000 1.2
+++ tcl-tile.spec 17 Sep 2008 20:17:31 -0000 1.3
@@ -1,10 +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 %(echo 'puts $tcl_version' | tclsh)}
+%{!?tcl_version: %define tcl_version 8.5}
%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
%define realname tile
Name: tcl-%{realname}
Version: 0.8.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Modified Tk styling engine
Group: System Environment/Libraries
License: TCL
@@ -13,7 +18,7 @@
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Provides: %{realname} = %{version}-%{release}
Provides: tk-%{realname} = %{version}-%{release}
-BuildRequires: tcl-devel, tk-devel, libX11-devel
+BuildRequires: tcl-devel = %{tcl_version}, tk-devel, libX11-devel
Requires: tcl(abi) = %{tcl_version}
%description
@@ -66,6 +71,9 @@
%{_libdir}/libttkstub.a
%changelog
+* Wed Sep 17 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.8.2-4
+- no, we really do need to hardcode. *sigh*
+
* Wed Sep 17 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.8.2-3
- don't hardcode tcl abi requires
More information about the scm-commits
mailing list