public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/openblas] rawhide: Update for execstack availability on RHEL
Date: Sat, 01 Aug 2026 17:43:54 GMT	[thread overview]
Message-ID: <178560623413.1.5282059727404860785.rpms-openblas-1f4bfd816caa@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-01 17:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178560623413.1.5282059727404860785.rpms-openblas-1f4bfd816caa@fedoraproject.org \
    --to=pbrobinson@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox