Accepting request 1030868 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1030868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-urllib3?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2022-10-25 09:18:26 +00:00 committed by Git OBS Bridge
commit aff513686e
2 changed files with 8 additions and 3 deletions

View File

@ -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>

View File

@ -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 -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 \
%{buildroot}/%{python3_sitelib}/urllib3/packages/__pycache__/
%{buildroot}/%{$python_sitelib}/urllib3/packages/__pycache__/
%fdupes %{buildroot}%{$python_sitelib}
}
@ -138,7 +138,7 @@ skiplist+=" or test_requesting_large_resources_via_ssl"
%license LICENSE.txt
%doc CHANGES.rst README.rst
%{python_sitelib}/urllib3
%{python_sitelib}/urllib3-%{version}-py*.egg-info
%{python_sitelib}/urllib3-%{version}*-info
%endif
%changelog