rpms/tcl-thread/devel tcl-thread.spec,1.2,1.3
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Fri Jan 4 22:07:22 UTC 2008
Author: wart
Update of /cvs/pkgs/rpms/tcl-thread/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22025
Modified Files:
tcl-thread.spec
Log Message:
Rebuild for Tcl 8.5
Index: tcl-thread.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcl-thread/devel/tcl-thread.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tcl-thread.spec 28 Aug 2007 12:55:34 -0000 1.2
+++ tcl-thread.spec 4 Jan 2008 22:06:44 -0000 1.3
@@ -1,14 +1,17 @@
+%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
+%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
+
Name: tcl-thread
Summary: Tcl Thread extension
License: TCL
Group: Development/Tools
Version: 2.6.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Source: http://prdownloads.sourceforge.net/tcl/thread2.6.5.tar.gz
URL: http://tcl.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tcl-devel gdbm-devel
-Requires: tcl
+Requires: tcl(abi) = 8.5
Patch0: tcl-thread-x86_64-build.patch
%description
@@ -20,7 +23,7 @@
%patch0 -p0
%build
-%configure --enable-threads --with-gdbm
+%configure --enable-threads --with-gdbm --libdir=%{tcl_sitearch}
make %{?_smp_mflags}
%install
@@ -33,10 +36,13 @@
%files
%defattr(-, root, root)
%doc license.terms README ChangeLog
-%{_libdir}/thread%{version}
+%{tcl_sitearch}/thread%{version}
%{_mandir}/mann/*
%changelog
+* Fri Jan 4 2008 - jwboyer at jdub.homelinux.org 2.6.5-4
+- Rebuild for Tcl 8.5
+
* Tue Aug 28 2007 - jwboyer at jdub.homelinux.org 2.6.5-3
- Rebuild for BuildID
- Correct license tag
More information about the fedora-extras-commits
mailing list