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/python-dunamai] f43: Add build conditionals for integration tests for particular VCSes
Date: Sun, 08 Nov 2026 22:56:50 GMT	[thread overview]
Message-ID: <179417861099.1.11513111141228814992.rpms-python-dunamai-39b0f101c260@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-dunamai
Branch : f43
Commit : 39b0f101c2608e91a3f914d2eab5607ebe3701f2
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-28T12:47:24+01:00
Stats  : +21/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-dunamai/c/39b0f101c2608e91a3f914d2eab5607ebe3701f2?branch=f43

Log:
Add build conditionals for integration tests for particular VCSes

---
diff --git a/python-dunamai.spec b/python-dunamai.spec
index 480c45f..f8921cb 100644
--- a/python-dunamai.spec
+++ b/python-dunamai.spec
@@ -1,6 +1,13 @@
-# Run breezy/bazaar integration tests?
-# Useful to disable when breezy is broken with new Python version.
-%bcond breezy 1
+# Allow disabling integration tests for various version control systems in case
+# they are broken with a new Python version or not packaged in a particular
+# EPEL branch.
+%bcond breezy %{undefined rhel}
+%bcond darcs 1
+%bcond fossil %[ %{undefined rhel} || %{defined el9} ]
+%bcond hg 1
+# pijul is not in Fedora yet
+%bcond pijul 0
+%bcond svn 1
 
 # Is poetry-core too old for the license file to be handled automatically?
 %bcond no_pep_639_license %[ %{defined fc43} || %{defined el10} || %{defined el9} ]
@@ -34,16 +41,25 @@ BuildRequires:  python3dist(pytest)
 BuildRequires:  python3dist(pytest-xdist)
 
 BuildRequires:  /usr/bin/git
+%if %{with hg}
 BuildRequires:  /usr/bin/hg
+%endif
+%if %{with darcs}
 BuildRequires:  /usr/bin/darcs
+%endif
+%if %{with svn}
 BuildRequires:  /usr/bin/svn
+%endif
 %if %{with breezy}
 BuildRequires:  /usr/bin/bzr
 %endif
+%if %{with fossil}
 BuildRequires:  /usr/bin/fossil
+%endif
+%if %{with pijul}
+BuildRequires:  /usr/bin/pijul
+%endif
 BuildRequires:  help2man
-# pijul is not in Fedora yet
-#BuildRequires:  /usr/bin/pijul
 
 %description -n python3-dunamai %_description
 

                 reply	other threads:[~2026-11-08 22:56 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=179417861099.1.11513111141228814992.rpms-python-dunamai-39b0f101c260@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