From 70915da16ba4e34dbb8740810bb42153a32a5a15 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Sat, 14 Nov 2015 17:08:21 +0100 Subject: [PATCH] Add FFLAGS also in %%install --- scipy.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scipy.spec b/scipy.spec index 2e44a85..d624309 100644 --- a/scipy.spec +++ b/scipy.spec @@ -124,11 +124,13 @@ env CFLAGS="$RPM_OPT_FLAGS" \ # first install python3 so the binaries are overwritten by the python2 ones %if 0%{?with_python3} env CFLAGS="$RPM_OPT_FLAGS" \ + FFLAGS="$RPM_OPT_FLAGS -fPIC" \ ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \ %__python3 setup.py install --root=$RPM_BUILD_ROOT %endif # with_python3 env CFLAGS="$RPM_OPT_FLAGS" \ + FFLAGS="$RPM_OPT_FLAGS -fPIC" \ ATLAS=%{_libdir}/atlas FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \ %__python2 setup.py install --root=$RPM_BUILD_ROOT @@ -164,6 +166,7 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch} \ * Sat Nov 14 2015 Thomas Spura - 0.16.1-3 - Add patch to fix ctypes test - Move requires to correct python2 subpackage +- Add FFLAGS also in %%install * Tue Nov 10 2015 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5