Compare commits

...

2 Commits
master ... f28

Author SHA1 Message Date
Jakub Martisko 576906d469 atlas.spec: pass RPM_LD_FLAGS to linker 2018-04-25 09:28:54 +02:00
Jakub Martisko f56da5f7b9 atlas.spec: add gcc to buildrequires 2018-04-25 09:28:15 +02:00
1 changed files with 10 additions and 5 deletions

View File

@ -5,7 +5,7 @@ Version: 3.10.3
%if "%{?enable_native_atlas}" != "0"
%define dist .native
%endif
Release: 3%{?dist}
Release: 5%{?dist}
Summary: Automatically Tuned Linear Algebra Software
Group: System Environment/Libraries
@ -46,7 +46,7 @@ Patch8: atlas-genparse.patch
# Unbundle LAPACK (BZ #1181369)
Patch9: atlas.3.10.1-unbundle.patch
BuildRequires: gcc-gfortran, lapack-static
BuildRequires: gcc-gfortran, lapack-static, gcc
%ifarch x86_64
Obsoletes: atlas-sse3 < 3.10.3-1
@ -406,7 +406,7 @@ cd ..
%build
p=$(pwd)
%undefine _strict_symbol_defs_build
%ifarch %{arm}
%global mode %{nil}
%else
@ -495,10 +495,9 @@ for type in %{types}; do
%define pr_power8 %(echo $((%{__isa_bits}+4)))
fi
fi
mkdir -p %{_arch}_${type}
pushd %{_arch}_${type}
../configure %{mode} $thread_options $arg_options -D c -DWALL -Fa alg '%{flags} -g -Wa,--noexecstack -fPIC'\
../configure %{mode} $thread_options $arg_options -D c -DWALL -Fa alg '%{flags} -g -Wa,--noexecstack -fPIC ${RPM_LD_FLAGS}'\
--prefix=%{buildroot}%{_prefix} \
--incdir=%{buildroot}%{_includedir} \
--libdir=%{buildroot}%{_libdir}/${libname}
@ -821,6 +820,12 @@ fi
%endif
%changelog
* Wed Apr 25 2018 Jakub Martisko <jamartis@redhat.com> - 3.10.3-5
- Pass RPM_LD_FLAGS to linker
* Wed Apr 25 2018 Jakub Martisko <jamartis@redhat.com> - 3.10.3-4
- Add gcc to buildrequires
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild