Accepting request 1030589 from home:bnavigator:branches:devel:languages:python
- Fix pycache when undbundling six OBS-URL: https://build.opensuse.org/request/show/1030589 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urllib3?expand=0&rev=140
This commit is contained in:
parent
3f9ddd55c5
commit
243ed02cf0
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 23 10:39:36 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Fix pycache when undbundling six
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 22 21:53:59 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Mon Aug 22 21:53:59 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -110,9 +110,9 @@ rm %{buildroot}/%{$python_sitelib}/urllib3/packages/__pycache__/six*.pyc
|
|||||||
|
|
||||||
ln -s %{$python_sitelib}/six.py %{buildroot}/%{$python_sitelib}/urllib3/packages/six.py
|
ln -s %{$python_sitelib}/six.py %{buildroot}/%{$python_sitelib}/urllib3/packages/six.py
|
||||||
ln -sf %{$python_sitelib}/__pycache__/six.cpython-%{$python_version_nodots}.opt-1.pyc \
|
ln -sf %{$python_sitelib}/__pycache__/six.cpython-%{$python_version_nodots}.opt-1.pyc \
|
||||||
%{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
|
%{buildroot}/%{$python_sitelib}/urllib3/packages/__pycache__/
|
||||||
ln -sf %{$python_sitelib}/__pycache__/six.cpython-%{$python_version_nodots}.pyc \
|
ln -sf %{$python_sitelib}/__pycache__/six.cpython-%{$python_version_nodots}.pyc \
|
||||||
%{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
|
%{buildroot}/%{$python_sitelib}/urllib3/packages/__pycache__/
|
||||||
|
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
@ -138,7 +138,7 @@ skiplist+=" or test_requesting_large_resources_via_ssl"
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitelib}/urllib3
|
%{python_sitelib}/urllib3
|
||||||
%{python_sitelib}/urllib3-%{version}-py*.egg-info
|
%{python_sitelib}/urllib3-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user