public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-keyring] rawhide: Better BuildOption formatting
@ 2026-09-11  9:27 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-11  9:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-keyring
Branch : rawhide
Commit : 8621b364d144b9f84a31893d4db25eff40281620
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-11T10:25:03+01:00
Stats  : +5/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-keyring/c/8621b364d144b9f84a31893d4db25eff40281620?branch=rawhide

Log:
Better BuildOption formatting

---
diff --git a/python-keyring.spec b/python-keyring.spec
index 096f9a4..32b2fc5 100644
--- a/python-keyring.spec
+++ b/python-keyring.spec
@@ -15,13 +15,13 @@ BuildSystem:    pyproject
 BuildOption(generate_buildrequires): --extras %{?with_tests:test,}completion
 BuildOption(install): --assert-license keyring
 # - keyring.backends.macOS does not import on this platform
+BuildOption(check): --exclude 'keyring.backends.macOS*'
+%if %{without tests}
 # - keyring.devpi_client and keyring.testing are test hooks that require pluggy
 #   and/or pytest; we can import them only if the test dependencies are present
-BuildOption(check): %{shrink:
-    --exclude 'keyring.backends.macOS*'
-    %{?!with_tests:--exclude 'keyring.devpi_client'}
-    %{?!with_tests:--exclude 'keyring.testing*'}
-    }
+BuildOption(check): --exclude 'keyring.devpi_client'
+BuildOption(check): --exclude 'keyring.testing*'
+%endif
 
 BuildArch:      noarch
 

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

only message in thread, other threads:[~2026-09-11  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11  9:27 [rpms/python-keyring] rawhide: Better BuildOption formatting 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