mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
chore(modern-colorthief): The Ifcondening
Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user