public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/stb] epel10.2: Drop the -doc subpackage in F46+
@ 2026-10-22 16:22 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-22 16:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/stb
Branch : epel10.2
Commit : 6a1a901a630b9a7f083761944f136a2d907056f5
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-10-19T14:25:26+01:00
Stats  : +6/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/stb/c/6a1a901a630b9a7f083761944f136a2d907056f5?branch=epel10.2

Log:
Drop the -doc subpackage in F46+

---
diff --git a/stb.spec b/stb.spec
index 48ef948..e7d14b1 100644
--- a/stb.spec
+++ b/stb.spec
@@ -32,6 +32,8 @@
 # We continue to ship the copy from the deprecated/ directory in stable
 # releases for backwards-compatibility.
 %bcond stb_sprintf %[ %{defined fc45} || %{defined fc44} || %{defined fc43} || %{defined el10} ]
+# The various things in docs/ really aren’t that useful.
+%bcond doc %[ %{defined fc45} || %{defined fc44} || %{defined fc43} || %{defined el10} ]
 
 Name:           stb
 # While the individual header-only libraries are versioned, the overall
@@ -808,6 +810,7 @@ slight reduction in shader features, but no roadmap for actually implementing
 them.
 
 
+%if %{with doc}
 %package doc
 Summary:        Documentation for stb
 # We may reasonably assume that the LICENSE file covers documentation.
@@ -817,6 +820,7 @@ BuildArch:      noarch
 
 %description doc
 Documentation for stb.
+%endif
 
 
 %prep
@@ -969,11 +973,13 @@ EOF
 # Empty metapackage
 
 
+%if %{with doc}
 %files doc
 %license LICENSE
 %doc docs
 %doc README.md
 %doc tests/tilemap_editor_integration_example.c
+%endif
 
 
 %files -n stb_c_lexer-devel

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

only message in thread, other threads:[~2026-10-22 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 16:22 [rpms/stb] epel10.2: Drop the -doc subpackage 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