From 72998eecab6fbb6c6f2b6c88b73cd194ee36894b2badbce31555d379a7f1461f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 7 Aug 2012 19:33:05 +0000 Subject: [PATCH] Accepting request 129224 from home:jengelh:branches: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) OBS-URL: https://build.opensuse.org/request/show/129224 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=55 --- tcl.changes | 8 ++++++++ tcl.spec | 7 +++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/tcl.changes b/tcl.changes index e201361..75d98ca 100644 --- a/tcl.changes +++ b/tcl.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +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 diff --git a/tcl.spec b/tcl.spec index 990739a..d5888df 100644 --- a/tcl.spec +++ b/tcl.spec @@ -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