diff --git a/tcl.changes b/tcl.changes index d26e221..75d98ca 100644 --- a/tcl.changes +++ b/tcl.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +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 +- Remove outdated PPC obsoletes (there is no tcl-devel-XXbit built) + +------------------------------------------------------------------- +Thu Jul 26 08:59:49 UTC 2012 - max@suse.com + +- 8.5.12rc2 + ------------------------------------------------------------------- Wed Jan 4 08:45:50 UTC 2012 - cfarrell@suse.com diff --git a/tcl.spec b/tcl.spec index e571eed..d5888df 100644 --- a/tcl.spec +++ b/tcl.spec @@ -1,7 +1,7 @@ # # spec file for package tcl # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,11 @@ # - Name: tcl Url: http://www.tcl.tk -Version: 8.5.11 +Version: 8.5.12 Release: 0 +%define rrc rc2 %define TCL_MINOR %(echo %version | cut -c1-3) BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: The Tcl Programming Language @@ -31,9 +31,10 @@ Group: Development/Languages/Tcl Obsoletes: tcl-64bit %endif # -Provides: tclsh tclsh%{TCL_MINOR} +Provides: tclsh +Provides: tclsh%{TCL_MINOR} PreReq: /bin/rm -Source0: %name%{version}-src.tar.gz +Source0: %name%{version}%{rrc}-src.tar.gz Source1: tcl-rpmlintrc Source2: baselibs.conf Source3: macros.tcl @@ -82,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 @@ -92,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 @@ -125,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 diff --git a/tcl8.5.11-src.tar.gz b/tcl8.5.11-src.tar.gz deleted file mode 100644 index 74df504..0000000 --- a/tcl8.5.11-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a -size 4484001 diff --git a/tcl8.5.12rc2-src.tar.gz b/tcl8.5.12rc2-src.tar.gz new file mode 100644 index 0000000..7309bc3 --- /dev/null +++ b/tcl8.5.12rc2-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20ba7a10a30571983afd3599f19b441adb5222b21f1d2b27d0fba3ed8d4707c2 +size 4501505