Disable execstack for riscv64

BUILDSTDERR: execstack: "/builddir/build/BUILDROOT/openblas-0.3.0-1.1.riscv64.fc29.riscv64/usr/lib64/libopenblas-r0.3.0.dev.so"'s architecture is not supported

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-06-04 17:16:40 +02:00
parent 79be0c377b
commit d6da2377d6
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
1 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,7 @@
Name: openblas
Version: 0.3.0
Release: 1.1.riscv64%{?dist}
Release: 1.2.riscv64%{?dist}
Summary: An optimized BLAS library based on GotoBLAS2
Group: Development/Libraries
License: BSD
@ -50,8 +50,12 @@ BuildRequires: perl-devel
%global execstack 1
%endif
%else
%ifarch riscv64
%global execstack 0
%else
%global execstack 1
%endif
%endif
%if %{execstack}
BuildRequires: /usr/bin/execstack
%endif
@ -679,6 +683,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
%endif
%changelog
* Mon Jun 04 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 0.3.0-1.2.riscv64
- Disable execstack for RISC-V (riscv64)
* Mon Jun 04 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 0.3.0-1.1.riscv64
- Fix typo in RISC-V patch name
- Disable running of all tests on RISC-V