public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/stb] rawhide: Make the remaining binary RPMs noarch in F46+
Date: Fri, 23 Oct 2026 08:55:15 GMT	[thread overview]
Message-ID: <179274571582.1.12629231374270134716.rpms-stb-7ebe01805d77@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/stb
Branch : rawhide
Commit : 7ebe01805d7720eab70733ccc306599f82793b24
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-10-23T09:52:57+01:00
Stats  : +11/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/stb/c/7ebe01805d7720eab70733ccc306599f82793b24?branch=rawhide

Log:
Make the remaining binary RPMs noarch in F46+

---
diff --git a/stb.spec b/stb.spec
index 3b0cb18..257891e 100644
--- a/stb.spec
+++ b/stb.spec
@@ -33,6 +33,11 @@
 # this isn’t really useful. Upstream treats these as separate libraries, and
 # we should too. We drop it beginning with F46.
 %bcond devel_metapackage %[ %{defined fc45} || %{defined fc44} || %{defined fc43} || %{defined el10} ]
+# Make stb devel dependencies no longer arch-specific
+# https://src.fedoraproject.org/rpms/mlpack/pull-request/18
+# Merged and built in F46+ for now; we can expand this later if the dependency
+# change is shipped in stable branches.
+%bcond mlpack_arched_dep %[ %{defined fc45} || %{defined fc44} || %{defined fc43} || %{defined el9} ]
 
 Name:           stb
 # While the individual header-only libraries are versioned, the overall
@@ -560,9 +565,9 @@ Summary:        Image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD
 Version:        %{stb_image_version}%{snapinfo}
 License:        MIT OR Unlicense
 
-# Make stb devel dependencies no longer arch-specific
-# https://src.fedoraproject.org/rpms/mlpack/pull-request/18
-# BuildArch:      noarch
+%if %{without mlpack_arched_dep}
+BuildArch:      noarch
+%endif
 
 Provides:       stb_image-static = %{stb_image_version}%{snapinfo}-%{release}
 
@@ -601,9 +606,9 @@ Summary:        Image writing to disk: PNG, TGA, BMP
 Version:        %{stb_image_write_version}%{snapinfo}
 License:        MIT OR Unlicense
 
-# Make stb devel dependencies no longer arch-specific
-# https://src.fedoraproject.org/rpms/mlpack/pull-request/18
-# BuildArch:      noarch
+%if %{without mlpack_arched_dep}
+BuildArch:      noarch
+%endif
 
 Provides:       stb_image_write-static = %{stb_image_write_version}%{snapinfo}-%{release}
 

                 reply	other threads:[~2026-10-23  8:55 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=179274571582.1.12629231374270134716.rpms-stb-7ebe01805d77@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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