rpms/tclcompiler/devel tclcompiler.spec,1.3,1.4
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Sat Jan 5 22:23:47 UTC 2008
Author: wart
Update of /cvs/extras/rpms/tclcompiler/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1278
Modified Files:
tclcompiler.spec
Log Message:
Fix package path for Tcl 8.5
Index: tclcompiler.spec
===================================================================
RCS file: /cvs/extras/rpms/tclcompiler/devel/tclcompiler.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tclcompiler.spec 5 Jan 2008 13:49:45 -0000 1.3
+++ tclcompiler.spec 5 Jan 2008 22:23:08 -0000 1.4
@@ -1,17 +1,20 @@
+%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
+%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
%define cvsdate 20061030
Summary: Tcl bytecode compiler
Name: tclcompiler
Version: 1.5
-Release: 4.%{cvsdate}cvs%{?dist}
+Release: 5.%{cvsdate}cvs%{?dist}
License: TCL
Group: Development/Libraries
# cvs -d:pserver:anonymous at tclpro.cvs.sourceforge.net:/cvsroot/tclpro export -D 2006-10-30 -d tclcompiler-20061030cvs tclcompiler
# tar czf tclcompiler-20061030cvs.tgz ./tclcompiler-20061030cvs
Source0: tclcompiler-%{cvsdate}cvs.tgz
Patch0: tclcompiler-1.5-configure.patch
+Patch1: tclcompiler-1.5-pkgpath.patch
URL: http://tclpro.sourceforge.net/
-Requires: tcl(abi) = 8.4
+Requires: tcl(abi) = 8.5
BuildRequires: tbcload-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -22,6 +25,7 @@
%prep
%setup -q -n %{name}-%{cvsdate}cvs
%patch0 -p0
+%patch1 -p0
%build
%configure
@@ -41,9 +45,12 @@
%files
%doc ChangeLog license.terms
%defattr(-,root,root)
-%{_libdir}/%{name}%{version}
+%{tcl_sitearch}/%{name}%{version}
%changelog
+* Sat Jan 5 2008 Wart <wart at kobold.org> 1.5-5.20061030cvs
+- Fix package path for Tcl 8.5
+
* Sat Jan 5 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.5-4.20061030cvs
- Rebuild for new Tcl 8.5
More information about the fedora-extras-commits
mailing list