SHA256
3
0
forked from pool/tcl

Removing the last checkin, because I hadn't authorized it and the author didn't asnwer my question regarding the PPC obsoletes removal.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=57
This commit is contained in:
Reinhard Max 2012-08-09 10:43:25 +00:00 committed by Git OBS Bridge
parent 72998eecab
commit febcfbbbdf
2 changed files with 4 additions and 11 deletions

View File

@ -1,11 +1,3 @@
-------------------------------------------------------------------
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 Thu Jul 26 08:59:49 UTC 2012 - max@suse.com

View File

@ -83,7 +83,7 @@ autoconf
--enable-man-symlinks \ --enable-man-symlinks \
--enable-man-compression=gzip --enable-man-compression=gzip
%define scriptdir %_libdir/tcl %define scriptdir %_libdir/tcl
MAKE='make %{?_smp_mflags} MAKE='make %{?jobs:-j%jobs}
TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR" TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR"
TCL_PACKAGE_PATH="%_libdir/tcl %_datadir/tcl" TCL_PACKAGE_PATH="%_libdir/tcl %_datadir/tcl"
%ifnarch hppa %ifnarch hppa
@ -93,10 +93,8 @@ MAKE='make %{?_smp_mflags}
%endif %endif
LDFLAGS_OPTIMIZE="%optflags $PFLAGS" LDFLAGS_OPTIMIZE="%optflags $PFLAGS"
SHLIB_LD="%__cc -shared %optflags $PFLAGS"' SHLIB_LD="%__cc -shared %optflags $PFLAGS"'
%ifnarch %sparc
# Build with instrumentation for profiling # Build with instrumentation for profiling
PFLAGS="%{?cflags_profile_generate}" PFLAGS="%{?cflags_profile_generate}"
%endif
eval $MAKE eval $MAKE
# Some of the regressioin tests write to $HOME, so better redirect them # Some of the regressioin tests write to $HOME, so better redirect them
mkdir home mkdir home
@ -128,7 +126,10 @@ ln -sf tclsh%TCL_MINOR %buildroot%_prefix/bin/tclsh
mkdir -p %buildroot%_datadir/tcl mkdir -p %buildroot%_datadir/tcl
install -D %{S:3} -m 644 %buildroot/etc/rpm/macros.tcl install -D %{S:3} -m 644 %buildroot/etc/rpm/macros.tcl
%clean
rm -rf %buildroot
%if %_lib == lib64 %if %_lib == lib64
%post %post
test -L /usr/lib/tcl%TCL_MINOR && /bin/rm -f /usr/lib/tcl%TCL_MINOR test -L /usr/lib/tcl%TCL_MINOR && /bin/rm -f /usr/lib/tcl%TCL_MINOR
exit 0 exit 0