public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jsonschema] 2488367: Use modern, simpler bcond style
@ 2026-06-15  7:29 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-15  7:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-jsonschema
Branch : 2488367
Commit : b36191c266edacfeacf110861f9bd8d7a8ddc369
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-03-03T06:42:49+00:00
Stats  : +1/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-jsonschema/c/b36191c266edacfeacf110861f9bd8d7a8ddc369?branch=2488367

Log:
Use modern, simpler bcond style

---
diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index c7b58b9..3cd239e 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -22,11 +22,7 @@ BuildRequires:  python3-devel
 BuildRequires:  tomcli
 
 # test requirements
-%if %{defined rhel}
-%bcond_with tests
-%else
-%bcond_without tests
-%endif
+%bcond tests %{undefined rhel}
 
 %if %{with tests}
 # For “trial-3”

^ 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: Use modern, simpler bcond style 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