Reinhard Max 2012-08-09 12:40:39 +00:00 committed by Git OBS Bridge
parent febcfbbbdf
commit a4f4e3547f
3 changed files with 16 additions and 7 deletions

View File

@ -1,7 +1,17 @@
-------------------------------------------------------------------
Thu Jul 26 08:59:49 UTC 2012 - max@suse.com
Thu Aug 9 11:14:51 UTC 2012 - max@suse.com
- 8.5.12rc2
- New patchlevel: 8.5.12:
* Fix the values returned by [switch -regexp -indexvar]
* Improve RFC compliance of the http package
* Several other bugfixes
-------------------------------------------------------------------
Sun Jul 29 18:02:41 UTC 2012 - jengelh@inai.de
- Disable profiling on SPARC due to compiler bug [gcc #54121]
- Remove redundant tags/sections from specfile
- Parallel build with %_smp_mflags
-------------------------------------------------------------------
Wed Jan 4 08:45:50 UTC 2012 - cfarrell@suse.com

View File

@ -20,7 +20,7 @@ Name: tcl
Url: http://www.tcl.tk
Version: 8.5.12
Release: 0
%define rrc rc2
%define rrc %nil
%define TCL_MINOR %(echo %version | cut -c1-3)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: The Tcl Programming Language
@ -83,7 +83,7 @@ autoconf
--enable-man-symlinks \
--enable-man-compression=gzip
%define scriptdir %_libdir/tcl
MAKE='make %{?jobs:-j%jobs}
MAKE='make %{?_smp_mflags}
TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR"
TCL_PACKAGE_PATH="%_libdir/tcl %_datadir/tcl"
%ifnarch hppa
@ -93,8 +93,10 @@ MAKE='make %{?jobs:-j%jobs}
%endif
LDFLAGS_OPTIMIZE="%optflags $PFLAGS"
SHLIB_LD="%__cc -shared %optflags $PFLAGS"'
%ifnarch %sparc
# Build with instrumentation for profiling
PFLAGS="%{?cflags_profile_generate}"
%endif
eval $MAKE
# Some of the regressioin tests write to $HOME, so better redirect them
mkdir home
@ -126,10 +128,7 @@ ln -sf tclsh%TCL_MINOR %buildroot%_prefix/bin/tclsh
mkdir -p %buildroot%_datadir/tcl
install -D %{S:3} -m 644 %buildroot/etc/rpm/macros.tcl
%clean
rm -rf %buildroot
%if %_lib == lib64
%post
test -L /usr/lib/tcl%TCL_MINOR && /bin/rm -f /usr/lib/tcl%TCL_MINOR
exit 0