Accepting request 130356 from devel:languages:tcl

- 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) (forwarded request 129224 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/130356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcl?expand=0&rev=36
This commit is contained in:
Stephan Kulow 2012-08-08 09:40:34 +00:00 committed by Git OBS Bridge
commit 99dc436e42
4 changed files with 25 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a
size 4484001

3
tcl8.5.12rc2-src.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20ba7a10a30571983afd3599f19b441adb5222b21f1d2b27d0fba3ed8d4707c2
size 4501505