- Remove the broken attempt to avoid using the bundeled requests module
provided by the source (boo#1088310) + Problem introduced by commit Thu May 10 09:05:58 UTC 2018 - tchvatal@suse.com OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=11
This commit is contained in:
parent
7cc6916a03
commit
ff8b42354d
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 3 12:04:41 UTC 2018 - rjschwei@suse.com
|
||||||
|
|
||||||
|
- Remove the broken attempt to avoid using the bundeled requests module
|
||||||
|
provided by the source (boo#1088310)
|
||||||
|
+ Problem introduced by commit
|
||||||
|
Thu May 10 09:05:58 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 22 20:43:56 UTC 2018 - adrian.glaubitz@suse.com
|
Sun Jul 22 20:43:56 UTC 2018 - adrian.glaubitz@suse.com
|
||||||
|
|
||||||
|
@ -59,25 +59,14 @@ A low-level interface to a growing number of Amazon Web Services.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n botocore-%{version}
|
%setup -q -n botocore-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
# remove requests and six
|
|
||||||
rm -r botocore/vendored/
|
|
||||||
# fix all imports:
|
|
||||||
sed -i 's/from botocore\.vendored //' botocore/*.py tests/unit/*.py
|
|
||||||
sed -i 's/botocore\.vendored\.//' botocore/*.py tests/unit/*.py tests/unit/auth/*.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
# just for compat sake symlink the bundles as other pkgs import it :/
|
|
||||||
%python_expand mkdir -p %{buildroot}%{$python_sitelib}/botocore/vendored
|
|
||||||
%python_expand ln -s %{$python_sitelib}/six.py %{buildroot}%{$python_sitelib}/botocore/vendored/six.py
|
|
||||||
%python_expand ln -s %{$python_sitelib}/requests %{buildroot}%{$python_sitelib}/botocore/vendored/requests
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand nosetests-%{$python_bin_suffix} tests/unit
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user