diff --git a/anda/tools/modern-colorthief/modern-colorthief.spec b/anda/tools/modern-colorthief/modern-colorthief.spec index 6a3c52e87b..0cb9a3a2b6 100644 --- a/anda/tools/modern-colorthief/modern-colorthief.spec +++ b/anda/tools/modern-colorthief/modern-colorthief.spec @@ -1,6 +1,6 @@ %global pypi_name modern_colorthief %bcond docs 0 -%bcond test 0 +%bcond test 1 # The srcrpm is not prefixed with Python because the source is mostly Rust Name: modern-colorthief @@ -25,6 +25,8 @@ BuildRequires: python3dist(modern-colorthief) BuildRequires: python3dist(myst-parser) BuildRequires: python3dist(shibuya) BuildRequires: python3dist(sphinx) +%elif %{with test} +BuildRequires: python3dist(modern-colorthief) %endif %if %{with test} %if 0%{?fedora} <= 42