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>
e9
Miro Hrončok 4 years ago
parent c67f288ec0
commit 098424117d

@ -264,7 +264,7 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{python3_sitelib}/%{name}/* %{python3_sitelib}/%{name}/*
%{python3_sitelib}/%{name}-*-py?.?.egg-info %{python3_sitelib}/%{name}-*-py%{python3_version}.egg-info
%{_sysconfdir}/logrotate.d/salt %{_sysconfdir}/logrotate.d/salt
%{_sysconfdir}/bash_completion.d/salt.bash %{_sysconfdir}/bash_completion.d/salt.bash
%{_var}/cache/salt %{_var}/cache/salt

Loading…
Cancel
Save