diff --git a/python-mplcursors.spec b/python-mplcursors.spec index 39517fd..783d3a9 100644 --- a/python-mplcursors.spec +++ b/python-mplcursors.spec @@ -8,6 +8,8 @@ Summary: Interactive data selection cursors for Matplotlib License: MIT URL: https://github.com/anntzer/mplcursors Source0: %pypi_source +Patch0001: https://github.com/anntzer/mplcursors/commit/6f089d9a4d05e031ea443f7543c8f9b1c62e9135.patch + BuildArch: noarch BuildRequires: python3-devel @@ -42,7 +44,7 @@ Documentation for mplcursors %prep -%autosetup -n %{srcname}-%{version} +%autosetup -n %{srcname}-%{version} -p1 # Remove bundled egg-info and files rm -rf %{srcname}.egg-info vendor @@ -63,7 +65,7 @@ rm -rf html/.{doctrees,buildinfo} %check PYTHONPATH=%{buildroot}%{python3_sitelib} \ - %{__python3} -m pytest + %{python3} -m pytest %files -n python3-%{srcname} @@ -71,7 +73,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %doc README.rst examples/README.txt %{python3_sitelib}/%{srcname} %{python3_sitelib}/%{srcname}.pth -%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info +%{python3_sitelib}/%{srcname}-%{version}-py*.egg-info %files -n python-%{srcname}-doc