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

A new commit has been pushed.

Repo   : rpms/qtile
Branch : rawhide
Commit : 49ae67a71cfb5c319189dc737870e8be5f7d7899
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-08-07T15:57:01-04:00
Stats  : +11/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/qtile/c/49ae67a71cfb5c319189dc737870e8be5f7d7899?branch=rawhide

Log:
Disable X11 on RHEL 10+

---
diff --git a/qtile.spec b/qtile.spec
index c5d0975..87cf3fb 100644
--- a/qtile.spec
+++ b/qtile.spec
@@ -1,3 +1,5 @@
+%bcond x11 %[!(0%{?rhel} >= 10)]
+
 %global forgeurl https://github.com/qtile/qtile
 %global tag v0.36.0
 
@@ -20,8 +22,10 @@ BuildRequires:  pipewire-pulseaudio
 # Test dependencies
 BuildRequires:  gcc
 BuildRequires:  xcb-util-cursor
+%if %{with x11}
 BuildRequires:  xorg-x11-server-Xvfb
 BuildRequires:  xorg-x11-server-Xephyr
+%endif
 BuildRequires:  xterm
 BuildRequires:  rsvg-pixbuf-loader
 BuildRequires:  pkgconfig(wlroots-0.19)
@@ -108,10 +112,12 @@ PYTHONPATH=${PWD} %{python3} ./libqtile/backend/wayland/cffi/build.py
 mkdir -p %{buildroot}%{python3_sitearch}/libqtile/backend/wayland/
 cp -a ./libqtile/backend/wayland/_ffi.*.so %{buildroot}%{python3_sitearch}/libqtile/backend/wayland/
 
+%if %{with x11}
 mkdir -p %{buildroot}%{_datadir}/xsessions/
 desktop-file-install \
     --dir %{buildroot}%{_datadir}/xsessions/ \
     resources/qtile.desktop
+%endif
 
 mkdir -p %{buildroot}%{_datadir}/wayland-sessions/
 desktop-file-install \
@@ -131,7 +137,9 @@ ulimit -n 10240 ||:
 
 %pytest \
     -vv \
+%if %{with x11}
     --backend x11 \
+%endif
     --backend wayland \
     --deselect \
         test/shell_scripts/test_repl_server.py::test_repl_server_executes_code
@@ -141,7 +149,9 @@ ulimit -n 10240 ||:
 %files
 %doc README.rst
 %{_bindir}/qtile
+%if %{with x11}
 %{_datadir}/xsessions/qtile.desktop
+%endif
 
 
 %files -n python3-libqtile -f %{pyproject_files}
@@ -150,6 +160,7 @@ ulimit -n 10240 ||:
 %files wayland
 %{_datadir}/wayland-sessions/qtile-wayland.desktop
 %{python3_sitearch}/libqtile/backend/wayland/_ffi.*.so
+%{python3_sitelib}/libqtile/backend/wayland/qw/proto/
 
 
 %autochangelog

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

only message in thread, other threads:[~2026-08-10 20:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 20:20 [rpms/qtile] 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