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] epel10.3: Add build conditionals for integration tests for particular VCSes
Date: Mon, 28 Sep 2026 12:58:55 GMT [thread overview]
Message-ID: <179060033519.1.11808918525693677409.rpms-python-dunamai-39b0f101c260@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-dunamai
Branch : epel10.3
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=epel10.3
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-09-28 12:58 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=179060033519.1.11808918525693677409.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