chore(modern-colorthief): The Ifcondening

Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Gilver
2025-05-26 09:11:29 -05:00
committed by GitHub
parent 88c4d68297
commit dc82282bb7
@@ -62,7 +62,11 @@ Documentation for Modern Colorthief.
%cargo_prep_online
%build
%if 0%{?fedora} <= 41 || 0%{?rhel}
%py3_build
%else
%pyproject_wheel
%endif
%if %{with docs}
# Generates the docs in all languages Sphinx can translate most or all of the docs for this project in
@@ -74,7 +78,11 @@ done
%endif
%install
%if 0%{?fedora} <= 41 || 0%{?rhel}
%py3_install
%else
%pyproject_install
%endif
%{cargo_license_online} > LICENSE.dependencies
@@ -97,7 +105,11 @@ poetry run pytest
%license LICENSE
%license LICENSE.dependencies
%{python3_sitearch}/%{pypi_name}
%{python3_sitearch}/%{pypi_name}-%{version}.dist-info
%if 0%{?fedora} <= 41 || 0%{?rhel}
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%else
%{python3_sitearch}/%{pypi_name}-%{version}.dist-info/
%endif
%if %{with docs}
%files -n python3-%{name}-doc