public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-dunamai] f43: Add build conditionals for integration tests for particular VCSes
@ 2026-11-08 22:56 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-08 22:56 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-08 22:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 22:56 [rpms/python-dunamai] f43: Add build conditionals for integration tests for particular VCSes 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