Accepting request 993941 from home:cgiboudeaux:branches:KDE:Qt5
- Fix the dist_info folder name with python3-setuptools 63 The dist-info folder created with recent setuptools already contains the version. OBS-URL: https://build.opensuse.org/request/show/993941 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python3-pyside2?expand=0&rev=62
This commit is contained in:
parent
5207deb475
commit
803303e8f7
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 9 08:25:41 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Fix the dist_info folder name with python3-setuptools 63
|
||||
The dist-info folder created with recent setuptools already
|
||||
contains the version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 1 08:06:29 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
@ -178,7 +178,11 @@ python3 setup.py dist_info
|
||||
for d in *.dist-info; do
|
||||
# the commands were copied verbatim, not wrapped by entry-points.
|
||||
rm -f $d/entry_points.txt
|
||||
%if %{pkg_vcmp python3-setuptools < 63}
|
||||
cp -r $d %{buildroot}%{python3_sitearch}/${d/.dist-info/-%{version}.dist-info}
|
||||
%else
|
||||
cp -r $d %{buildroot}%{python3_sitearch}/${d}
|
||||
%endif
|
||||
done
|
||||
|
||||
# Examples must be installed manually
|
||||
|
Loading…
x
Reference in New Issue
Block a user