public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gap-pkg-digraphs] rawhide: Add bootstrap mode to avoid a circular dependency
Date: Wed, 05 Aug 2026 17:48:53 GMT	[thread overview]
Message-ID: <178595213362.1.4596370120875025276.rpms-gap-pkg-digraphs-38aa848ca662@fedoraproject.org> (raw)

A new commit has been pushed.

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

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

                 reply	other threads:[~2026-08-05 17:48 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=178595213362.1.4596370120875025276.rpms-gap-pkg-digraphs-38aa848ca662@fedoraproject.org \
    --to=loganjerry@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