Hello community,

here is the log from the commit of package python-requests-toolbelt for 
openSUSE:Factory checked in at 2017-05-17 10:55:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-toolbelt (Old)
 and      /work/SRC/openSUSE:Factory/.python-requests-toolbelt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-requests-toolbelt"

Wed May 17 10:55:15 2017 rev:2 rq:495407 version:0.7.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-requests-toolbelt/python-requests-toolbelt.changes
        2017-02-19 01:01:31.703399281 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-requests-toolbelt.new/python-requests-toolbelt.changes
   2017-05-17 10:55:18.530769201 +0200
@@ -1,0 +2,5 @@
+Tue May 16 16:04:50 UTC 2017 - [email protected]
+
+- convert to singlespec
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-requests-toolbelt.spec ++++++
--- /var/tmp/diff_new_pack.S3tsnu/_old  2017-05-17 10:55:19.254667363 +0200
+++ /var/tmp/diff_new_pack.S3tsnu/_new  2017-05-17 10:55:19.258666801 +0200
@@ -18,6 +18,7 @@
 
 %define short_name requests-toolbelt
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-requests-toolbelt
 Version:        0.7.0
 Release:        0
@@ -26,13 +27,15 @@
 Group:          Development/Languages/Python
 Url:            https://pypi.io/packages/source/r/requests-toolbelt/%{version}
 Source:         %{short_name}-%{version}.tar.gz
-BuildRequires:  python-requests >= 2.0.1
-BuildRequires:  python-setuptools
-Requires:       python-requests >= 2.0.1
+BuildRequires:  %{python_module betamax}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
+Requires:       %{python_module requests}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
-BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 This is just a collection of utilities for python-requests, but don't really 
belong in requests proper. The minimum tested requests version is 2.1.0. In 
reality, the toolbelt should work with 2.0.1 as well, but some idiosyncracies 
prevent effective or sane testing on that version.
@@ -41,15 +44,15 @@
 %setup -q -n %{short_name}-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --root %{buildroot} --prefix %{_prefix}
+%python_install
 
 %check
-python setup.py test
+%python_exec setup.py test
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc AUTHORS.rst HISTORY.rst README.rst LICENSE
 %{python_sitelib}/*


Reply via email to