Accepting request 85846 from devel:libraries:c_c++

- Workaround qemu-arm bugs. (forwarded request 85844 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/85846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsl?expand=0&rev=19
This commit is contained in:
Lars Vogdt 2011-10-02 08:10:39 +00:00 committed by Git OBS Bridge
parent 9d8107afd8
commit c40372ec1f
3 changed files with 49 additions and 28 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Oct 1 01:08:56 UTC 2011 - crrodriguez@opensuse.org
- Workaround qemu-arm bugs.
-------------------------------------------------------------------
Thu Sep 29 08:01:43 UTC 2011 - andrea.turrini@gmail.com
- Made descriptions in gls.spec more readable
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 17 10:18:18 UTC 2011 - badshah400@gmail.com Sun Jul 17 10:18:18 UTC 2011 - badshah400@gmail.com

View File

@ -43,7 +43,6 @@ Patch: gsl-1.6-initvars.diff
Patch5: gsl-wrap.diff Patch5: gsl-wrap.diff
Patch6: qawc-test-x86-precision.diff Patch6: qawc-test-x86-precision.diff
Url: http://www.gnu.org/software/gsl/ Url: http://www.gnu.org/software/gsl/
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -55,16 +54,15 @@ high level languages.
The library covers the following areas: The library covers the following areas:
Complex Numbers Roots of Polynomials Special Functions Complex Numbers - Roots of Polynomials - Special Functions -
Vectors and Matrices Permutations Sorting BLAS Support Vectors and Matrices - Permutations - Sorting - BLAS Support -
Linear Algebra Eigensystems Fast Fourier Transforms Linear Algebra - Eigensystems - Fast Fourier Transforms - Quadrature -
Quadrature Random Numbers Quasi-Random Sequences Random Random Numbers - Quasi-Random Sequences - Random Distributions -
Distributions Statistics Histograms N-Tuples Statistics - Histograms - N-Tuples - Monte Carlo Integration -
Monte Carlo Integration Simulated Annealing Differential Simulated Annealing - Differential Equations - Interpolation -
Equations Interpolation Numerical Differentiation Chebyshev Numerical Differentiation - Chebyshev Approximation - Series Acceleration -
Series Acceleration Approximation Discrete Hankel Discrete Hankel Transforms - Root-Finding - Minimization -
Root-Finding Minimization Transforms Least-Squares Fitting Least-Squares Fitting - Physical Constants - IEEE Floating-Point
Physical Constants IEEE Floating-Point
@ -100,16 +98,15 @@ high level languages.
The library covers the following areas, The library covers the following areas,
Complex Numbers Roots of Polynomials Special Functions Complex Numbers - Roots of Polynomials - Special Functions -
Vectors and Matrices Permutations Sorting BLAS Support Vectors and Matrices - Permutations - Sorting - BLAS Support -
Linear Algebra Eigensystems Fast Fourier Transforms Linear Algebra - Eigensystems - Fast Fourier Transforms - Quadrature -
Quadrature Random Numbers Quasi-Random Sequences Random Random Numbers - Quasi-Random Sequences - Random Distributions -
Distributions Statistics Histograms N-Tuples Statistics - Histograms - N-Tuples - Monte Carlo Integration -
Monte Carlo Integration Simulated Annealing Differential Simulated Annealing - Differential Equations - Interpolation -
Equations Interpolation Numerical Differentiation Chebyshev Numerical Differentiation - Chebyshev Approximation - Series Acceleration -
Series Acceleration Approximation Discrete Hankel Discrete Hankel Transforms - Root-Finding - Minimization -
Root-Finding Minimization Transforms Least-Squares Fitting Least-Squares Fitting - Physical Constants - IEEE Floating-Point
Physical Constants IEEE Floating-Point
@ -128,12 +125,12 @@ Authors:
%setup -q %setup -q
%patch -p1 %patch -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6
autoreconf -fi
%build %build
autoreconf -fi
RPM_OPT_FLAGS=`echo "$RPM_OPT_FLAGS" | sed 's/-fstack-protector//'` RPM_OPT_FLAGS=`echo "$RPM_OPT_FLAGS" | sed 's/-fstack-protector//'`
CFLAGS="$RPM_OPT_FLAGS -O2 -fno-strict-aliasing" \ CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
%configure --disable-static --with-pic --enable-shared --with-gnu-ld --infodir=%{_infodir} %configure --disable-static --with-pic --enable-shared --with-gnu-ld --infodir=%{_infodir}
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
# latex2html (dvips) is braindead in its rejection of '.' in a dir name # latex2html (dvips) is braindead in its rejection of '.' in a dir name
@ -146,7 +143,9 @@ make %{?jobs:-j%jobs}
#mv %{name} %{name}-%{version} #mv %{name} %{name}-%{version}
%check %check
%if ! 0%{?qemu_user_space_build}
make check make check
%endif
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT

View File

@ -1,7 +1,6 @@
diff -wruN -x '*~' ../orig-gsl-1.14/integration/test.c ./integration/test.c --- integration/test.c.orig
--- ../orig-gsl-1.14/integration/test.c 2010-03-10 12:32:48.000000000 +0100 +++ integration/test.c
+++ ./integration/test.c 2010-12-08 09:48:11.000000000 +0100 @@ -1754,7 +1754,11 @@ int main (void)
@@ -1754,7 +1754,11 @@
gsl_test_rel(w->rlist[i],r[i],1e-14,"qawc(f459) rlist") ; gsl_test_rel(w->rlist[i],r[i],1e-14,"qawc(f459) rlist") ;
for (i = 0; i < 6 ; i++) for (i = 0; i < 6 ; i++)
@ -13,3 +12,16 @@ diff -wruN -x '*~' ../orig-gsl-1.14/integration/test.c ./integration/test.c
for (i = 0; i < 6 ; i++) for (i = 0; i < 6 ; i++)
gsl_test_int((int)w->order[i],order[i]-1,"qawc(f459) order"); gsl_test_int((int)w->order[i],order[i]-1,"qawc(f459) order");
--- configure.ac.orig
+++ configure.ac
@@ -87,7 +87,9 @@ AC_CANONICAL_HOST
dnl Checks for programs.
AC_LANG(C)
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S