- Fix build without python2 available

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=65
This commit is contained in:
Tomáš Chvátal 2020-03-12 07:15:20 +00:00 committed by Git OBS Bridge
parent e0831b9c1a
commit e907f394a6
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 12 07:15:01 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2 available
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 17 17:30:50 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Feb 17 17:30:50 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -22,7 +22,6 @@ Version: 1.15.0
Release: 0 Release: 0
Summary: Python interface for AWS Summary: Python interface for AWS
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/boto/botocore URL: https://github.com/boto/botocore
Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
Patch0: hide_py_pckgmgmt.patch Patch0: hide_py_pckgmgmt.patch
@ -81,12 +80,12 @@ sed -i 's/botocore\.vendored\.//' botocore/*.py tests/functional/*.py tests/inte
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_expand nosetests-%{$python_bin_suffix} tests/unit %python_expand nosetests-%{$python_bin_suffix} -v tests/unit
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/botocore/ %{python_sitelib}/botocore/
%{python_sitelib}/botocore-%{version}-py%{py_ver}.egg-info %{python_sitelib}/botocore-%{version}-py*.egg-info
%changelog %changelog