public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openblas] rawhide: Update for execstack availability on RHEL
@ 2026-08-01 17:43 Peter Robinson
  0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-08-01 17:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/openblas
            Branch : rawhide
            Commit : 1f4bfd816caa98a35d4e56171055badd559c6890
            Author : Peter Robinson <pbrobinson@gmail.com>
            Date   : 2026-07-19T19:58:55+01:00
            Stats  : +2/-17 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/openblas/c/1f4bfd816caa98a35d4e56171055badd559c6890?branch=rawhide

            Log:
            Update for execstack availability on RHEL

The post bringup supported variants of aarch64/ppc64le
on RHEL-7 ultimately had execstack available so the checks
are long irrelevant so clean it up.

---
diff --git a/openblas.spec b/openblas.spec
index 0492ea5..0de6b3b 100644
--- a/openblas.spec
+++ b/openblas.spec
@@ -31,32 +31,19 @@ Patch2:         openblas-0.2.15-constructor.patch
 # Supply the proper flags to the test makefile
 Patch3:         openblas-0.3.11-tests.patch
 
-BuildRequires: make
+BuildRequires:  make
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
 BuildRequires:  gcc-gfortran
 BuildRequires:  perl-devel
 BuildRequires:  multilib-rpm-config
+BuildRequires:  /usr/bin/execstack
 
 # Rblas library is no longer necessary
 %if 0%{?fedora} >= 31 || 0%{?rhel} >= 8
 Obsoletes:      %{name}-Rblas < %{version}-%{release}
 %endif
 
-# Do we have execstack?
-%if 0%{?rhel} == 7
-%ifarch ppc64le aarch64
-%global execstack 0
-%else
-%global execstack 1
-%endif
-%else
-%global execstack 1
-%endif
-%if %{execstack}
-BuildRequires:  /usr/bin/execstack
-%endif
-
 # LAPACK
 %if %{with system_lapack}
 %if 0%{?rhel} == 5 || 0%{?rhel} == 6
@@ -556,12 +543,10 @@ ln -sf ${pname64_}.so lib%{name}p64_.so
 ln -sf ${pname64_}.so lib%{name}p64_.so.0
 %endif
 
-%if %{execstack}
 # Get rid of executable stacks
 for lib in %{buildroot}%{_libdir}/libopenblas*.so; do
  execstack -c $lib
 done
-%endif
 
 # Get rid of generated CMake config
 rm -rf %{buildroot}%{_libdir}/cmake

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-01 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-01 17:43 [rpms/openblas] rawhide: Update for execstack availability on RHEL Peter Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox