Accepting request 32335 from devel:libraries:c_c++

Copy from devel:libraries:c_c++/gsl based on submit request 32335 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/32335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsl?expand=0&rev=10
This commit is contained in:
OBS User autobuild 2010-02-11 19:25:08 +00:00 committed by Git OBS Bridge
parent e369405752
commit 528160fca4
2 changed files with 10 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 11 17:47:24 CET 2010 - rguenther@suse.de
- Drop all fancy compile flags as long as we need -fno-strict-aliasing.
-------------------------------------------------------------------
Thu Jul 30 17:57:56 CEST 2009 - garloff@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package gsl (Version 1.12)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 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
@ -22,8 +22,8 @@ Name: gsl
#BuildRequires: blas latex2html
BuildRequires: blas
Version: 1.12
Release: 1
License: GPL v3 or later
Release: 2
License: GPLv3+
# NOTE: The package has been update to 1.10+ after all issues with
# GNU GPLv3 have been resolved.
Group: Development/Libraries/C and C++
@ -72,7 +72,7 @@ Authors:
Fabrice Rossi <rossi@ufrmd.dauphine.fr>
%package devel
License: GPL v2 or later
License: GPLv2+
Summary: GNU Scientific Library - development files
Group: Development/Libraries/C and C++
Requires: gsl = %{version} glibc-devel
@ -123,14 +123,8 @@ autoreconf -fi
%build
RPM_OPT_FLAGS=`echo "$RPM_OPT_FLAGS" | sed 's/-fstack-protector//'`
%ifarch i386 i486 i586 i686 x86_64
# We could add -msse2 -mpfmath=sse here ...
CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160 -funroll-loops -fno-strict-aliasing -funit-at-a-time -ftree-vectorize -momit-leaf-frame-pointer" \
CFLAGS="$RPM_OPT_FLAGS -O2 -fno-strict-aliasing" \
%configure --disable-static --with-pic --enable-shared --with-gnu-ld
%else
CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160 -funroll-loops -fno-strict-aliasing -funit-at-a-time -ftree-vectorize" \
%configure --disable-static --with-pic --enable-shared --with-gnu-ld
%endif
make %{?jobs:-j%jobs}
# latex2html (dvips) is braindead in its rejection of '.' in a dir name
# the following fails right now, disable it: