Hello community, here is the log from the commit of package python-s3transfer for openSUSE:Factory checked in at 2017-05-17 10:53:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-s3transfer (Old) and /work/SRC/openSUSE:Factory/.python-s3transfer.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-s3transfer" Wed May 17 10:53:59 2017 rev:4 rq:494498 version:0.1.10 Changes: -------- --- /work/SRC/openSUSE:Factory/python-s3transfer/python-s3transfer.changes 2017-01-20 13:08:13.114714887 +0100 +++ /work/SRC/openSUSE:Factory/.python-s3transfer.new/python-s3transfer.changes 2017-05-17 10:54:00.529742346 +0200 @@ -1,0 +2,6 @@ +Thu May 11 01:37:16 UTC 2017 - toddrme2...@gmail.com + +- Implement single-spec version. +- Update source URL. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-s3transfer.spec ++++++ --- /var/tmp/diff_new_pack.Fs6vA1/_old 2017-05-17 10:54:01.105661326 +0200 +++ /var/tmp/diff_new_pack.Fs6vA1/_new 2017-05-17 10:54:01.109660764 +0200 @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-s3transfer Version: 0.1.10 Release: 0 @@ -23,19 +24,21 @@ License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/boto/s3transfer -Source0: https://pypi.io/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz Patch0: hide_py_pckgmgmt.patch -BuildRequires: python-setuptools +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} Requires: python-botocore <= 2.0.0 Requires: python-botocore >= 1.4.10 +%ifpython2 Requires: python-futures <= 4.0.0 Requires: python-futures >= 2.2.0 +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description A transfer manager for Amazon Web Services S3 @@ -45,15 +48,16 @@ %patch0 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-scripts=%{_bindir} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE.txt README.rst %{python_sitelib}/s3transfer/ -%{python_sitelib}/s3transfer-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/s3transfer-%{version}-py*.egg-info %changelog