public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gap-pkg-digraphs] f44: Add bootstrap mode to avoid a circular dependency
@ 2026-08-05 18:06 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-08-05 18:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gap-pkg-digraphs
Branch : f44
Commit : cd27f53770ae4335f6847b55aa8fd9a2c6e36eb8
Author : Jerry James <loganjerry@gmail.com>
Date   : 2026-08-05T12:05:39-06:00
Stats  : +11/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gap-pkg-digraphs/c/cd27f53770ae4335f6847b55aa8fd9a2c6e36eb8?branch=f44

Log:
Add bootstrap mode to avoid a circular dependency

---
diff --git a/gap-pkg-digraphs.spec b/gap-pkg-digraphs.spec
index a7b6965..345c49d 100644
--- a/gap-pkg-digraphs.spec
+++ b/gap-pkg-digraphs.spec
@@ -1,3 +1,11 @@
+# When bootstrapping a new architecture there is no gap-pkg-nautytracesinterface
+# package yet.  It is only needed for testing this package, but it requires
+# this package to provide optional functionality.  Therefore, do the following:
+# 1. Build this package in bootstrap mode.
+# 2. Build gap-pkg-nautytracesinterface.
+# 3. Build this package in non-bootstrap mode.
+%bcond bootstrap 0
+
 %global gap_pkgname digraphs
 %global giturl      https://github.com/digraphs/Digraphs
 
@@ -26,7 +34,9 @@ BuildRequires:  gap(datastructures) >= 0.2.5
 BuildRequires:  gap(gapdoc) >= 1.6.3
 BuildRequires:  gap(grape) >= 4.8.1
 BuildRequires:  gap(io) >= 4.5.1
+%if %{without bootstrap}
 BuildRequires:  gap(nautytracesinterface) >= 0.2
+%endif
 BuildRequires:  gap(orb) >= 4.8.2
 BuildRequires:  gap-devel >= 4.11.0
 BuildRequires:  gcc-c++
@@ -40,6 +50,7 @@ Requires:       gap(io) >= 4.5.1
 Requires:       gap(orb) >= 4.8.2
 Requires:       gap-core%{?_isa} >= 4.11.0
 
+Recommends:     gap(gapdoc) >= 1.6.3
 Recommends:     gap(grape) >= 4.8.1
 Recommends:     gap(nautytracesinterface) >= 0.2
 Recommends:     graphviz

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

only message in thread, other threads:[~2026-08-05 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05 18:06 [rpms/gap-pkg-digraphs] f44: Add bootstrap mode to avoid a circular dependency Jerry James

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