Name: python-darkdetect Version: 0.8.0 Release: 2%{?dist} Summary: Detect OS Dark Mode from Python License: BSD-3-Clause URL: http://github.com/albertosottile/darkdetect Source: %{pypi_source darkdetect} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Detects whether the user's desktop is in dark mode: GNOME and other freedesktop environments through the GTK theme or the settings portal, macOS 10.14+ and Windows 10+. One function returns "Dark" or "Light"; a listener can follow theme changes.} %description %_description %package -n python3-darkdetect Summary: %{summary} %description -n python3-darkdetect %_description %prep %autosetup -p1 -n darkdetect-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l darkdetect %check %pyproject_check_import %files -n python3-darkdetect -f %{pyproject_files} %changelog * Thu Oct 22 2026 Morgan Hough - 0.8.0-2 - Real description in place of pyp2spec's placeholder, the template comments removed, and a plain Release/changelog instead of %%autorelease/%%autochangelog (inert under rpkg, so -1 could never be superseded). Found by the 2026-10-22 readiness review.