public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qtile-extras] rawhide: Disable X11 on RHEL 10+
Date: Tue, 11 Aug 2026 21:51:34 GMT	[thread overview]
Message-ID: <178648509499.1.6169452152745906323.rpms-qtile-extras-6d2b5a2a056d@fedoraproject.org> (raw)

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}

                 reply	other threads:[~2026-08-11 21:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178648509499.1.6169452152745906323.rpms-qtile-extras-6d2b5a2a056d@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox