Replace Python version glob with macro (needed for Python 3.10+)

See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/

Co-authored-by: Tomas Hrnciar <thrnciar@redhat.com>
f38
Miro Hrončok 5 years ago
parent 36f291f413
commit 730c9ef303

@ -46,7 +46,7 @@ find %{buildroot}/%{python3_sitelib} -name '*.py' | xargs sed -i '/^#!/d'
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name}
%{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog %changelog
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-6 * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-6

Loading…
Cancel
Save