rpms/tcl-zlib/devel tcl-zlib.spec,1.1,1.2
Tom Callaway
spot at fedoraproject.org
Mon Jan 12 16:35:56 UTC 2009
- Previous message (by thread): rpms/tcl-zlib/F-9 tcl-zlib.spec,NONE,1.1 sources,1.1,1.2
- Next message (by thread): rpms/irrlicht/F-10 irrlicht-1.5-optflags.patch, NONE, 1.1 irrlicht-1.5-pngfix.patch, NONE, 1.1 irrlicht.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: spot
Update of /cvs/pkgs/rpms/tcl-zlib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21213/devel
Modified Files:
tcl-zlib.spec
Log Message:
initial branching
Index: tcl-zlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcl-zlib/devel/tcl-zlib.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tcl-zlib.spec 12 Jan 2009 16:20:39 -0000 1.1
+++ tcl-zlib.spec 12 Jan 2009 16:35:26 -0000 1.2
@@ -1,10 +1,14 @@
-%{!?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.5}
%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
%define realname zlib
Name: tcl-%{realname}
Version: 2.0.1
-Release: 0.1.svn40%{?dist}
+Release: 0.2.svn40%{?dist}
Summary: Tcl extension for zlib support
Group: System Environment/Libraries
License: MIT
@@ -13,7 +17,7 @@
Source0: http://svn.scheffers.net/%{realname}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: tcl-devel, tk-devel, zlib-devel
-Requires: tcl(abi) = 8.5
+Requires: tcl(abi) = %{tcl_version}
%description
This is extension is a standalone version of the tclkit [zlib]
@@ -60,5 +64,8 @@
%{_includedir}/*.h
%changelog
+* Mon Jan 12 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.1-0.2.svn40
+- fix tcl version macro
+
* Thu Jun 26 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.1-0.1.svn40
- initial package for Fedora
- Previous message (by thread): rpms/tcl-zlib/F-9 tcl-zlib.spec,NONE,1.1 sources,1.1,1.2
- Next message (by thread): rpms/irrlicht/F-10 irrlicht-1.5-optflags.patch, NONE, 1.1 irrlicht-1.5-pngfix.patch, NONE, 1.1 irrlicht.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list