public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qtile-extras] rawhide: Disable X11 on RHEL 10+
@ 2026-08-11 21:51 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-11 21:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/qtile-extras
Branch : rawhide
Commit : 6d2b5a2a056da672d9b5c2f212ebf5eed59c11f2
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-08-10T19:41:04-04:00
Stats  : +8/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/qtile-extras/c/6d2b5a2a056da672d9b5c2f212ebf5eed59c11f2?branch=rawhide

Log:
Disable X11 on RHEL 10+

---
diff --git a/qtile-extras.spec b/qtile-extras.spec
index 8ee149a..29062e9 100644
--- a/qtile-extras.spec
+++ b/qtile-extras.spec
@@ -1,3 +1,5 @@
+%bcond x11 %[!(0%{?rhel} >= 10)]
+
 %global forgeurl https://github.com/elParaguayo/qtile-extras
 %global tag v0.36.0
 
@@ -19,8 +21,10 @@ BuildRequires: qtile-wayland = %{version}
 
 # Test dependencies
 BuildRequires: python3-pytest
+%if %{with x11}
 BuildRequires: xorg-x11-server-Xvfb
 BuildRequires: xorg-x11-server-Xephyr
+%endif
 BuildRequires: ImageMagick
 BuildRequires: pulseaudio-libs
 # test/scripts/window.py GI deps
@@ -104,12 +108,16 @@ rm -rf %{buildroot}%{python3_sitelib}/test
 ulimit -n 10240
 
 %pytest -vv \
+    --backend wayland \
+%if %{with x11}
+    --backend x11 \
     --deselect test/widget/test_alsawidget.py::test_alsawidget_defaults[1-x11] \
     --deselect test/widget/test_alsawidget.py::test_controls[1-x11] \
     --deselect test/widget/test_alsawidget.py::test_step[1-x11-alsa_manager0] \
     --deselect test/widget/test_alsawidget.py::test_no_icons[1-x11-alsa_manager0] \
     --deselect test/widget/test_alsawidget.py::test_icons[1-x11-alsa_manager0] \
     --deselect test/widget/test_githubnotifications.py::test_githubnotifications_reload_token[1-x11-False-githubnotification_manager0] \
+%endif
     --deselect test/widget/test_widget_init.py::test_init_import_error_no_fallback
 
 %files -n qtile-extras -f %{pyproject_files}

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

only message in thread, other threads:[~2026-08-11 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 21:51 [rpms/qtile-extras] rawhide: Disable X11 on RHEL 10+ Yaakov Selkowitz

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