public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jsonschema] 2488367: Disable tests by default in RHEL builds
@ 2026-06-15  7:29 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-15  7:29 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-jsonschema
            Branch : 2488367
            Commit : 46d8dcbe757cac0b052efed5df70f9633fdce9f6
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2023-03-16T21:34:53-04:00
            Stats  : +5/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-jsonschema/c/46d8dcbe757cac0b052efed5df70f9633fdce9f6?branch=2488367

            Log:
            Disable tests by default in RHEL builds

python-twisted is unwanted in RHEL.

---
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index 0c0429b..c9c8659 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -21,7 +21,12 @@ BuildArch:      noarch
 BuildRequires:  python3-devel
 
 # test requirements
+%if %{defined rhel}
+%bcond_with tests
+%else
 %bcond_without tests
+%endif
+
 %if %{with tests}
 # For “trial-3”
 BuildRequires:  python3dist(twisted)

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

only message in thread, other threads:[~2026-06-15  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15  7:29 [rpms/python-jsonschema] 2488367: Disable tests by default in RHEL builds Yaakov Selkowitz

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