[mingw-tcl: 5/25] use native tclsh to install tz data
Kalev Lember
kalev at fedoraproject.org
Wed Mar 7 17:55:45 UTC 2012
commit c3e92cdc49f5057362f1bd4d0804ef172ce49edd
Author: sailer <sailer at fedoraproject.org>
Date: Sat May 23 12:22:30 2009 +0000
use native tclsh to install tz data
mingw32-tcl.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/mingw32-tcl.spec b/mingw32-tcl.spec
index aa85506..b4e96e7 100644
--- a/mingw32-tcl.spec
+++ b/mingw32-tcl.spec
@@ -14,7 +14,7 @@
Summary: MinGW Windows Tool Command Language, pronounced tickle
Name: mingw32-%{name1}
Version: %{vers}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: TCL
Group: Development/Languages
URL: http://tcl.sourceforge.net/
@@ -25,7 +25,7 @@ Buildrequires: autoconf
BuildRequires: file
BuildRequires: m4
BuildRequires: net-tools
-BuildRequires: wine
+BuildRequires: tcl
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
@@ -36,6 +36,7 @@ Patch0: tcl-8.5.1-autopath.patch
Patch1: tcl-8.5.0-conf.patch
Patch2: tcl-8.5.0-hidden.patch
Patch3: tcl-8.5.6-mingw32.patch
+Patch4: tcl-nativetclsh.patch
%description
The Tcl (Tool Command Language) provides a powerful platform for
@@ -54,12 +55,15 @@ chmod -x generic/tclThreadAlloc.c
%patch1 -p1 -b .conf
%patch2 -p1 -b .hidden
%patch3 -p0 -b .mingw32
+%patch4 -p0 -b .nativetclsh
%build
pushd win
autoconf
%{_mingw32_configure} --disable-threads --enable-shared
-make %{?_smp_mflags} TCL_LIBRARY=%{_mingw32_datadir}/%{name1}%{majorver}
+# builds fail sometimes with %{?_smp_mflags}, so don't use
+make TCL_LIBRARY=%{_mingw32_datadir}/%{name1}%{majorver}
+popd
%install
rm -rf $RPM_BUILD_ROOT
@@ -119,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT
%doc license.terms
%changelog
+* Sat May 23 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 8.5.7-4
+- use native shell to install tz data
+
* Sat May 23 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 8.5.7-3
- fix BRs
More information about the scm-commits
mailing list