public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/stb] rawhide: Make the remaining binary RPMs noarch in F46+
@ 2026-10-23  8:55 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-23  8:55 UTC (permalink / raw)
  To: git-commits

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}
 

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

only message in thread, other threads:[~2026-10-23  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23  8:55 [rpms/stb] rawhide: Make the remaining binary RPMs noarch in F46+ Benjamin A. Beasley

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