Accepting request 854252 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/854252 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-mock?expand=0&rev=15
This commit is contained in:
commit
409e1d6025
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 9 10:26:01 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Support TW with multiple python3 flavors
|
||||
* gh#openSUSE/python-rpm-macros#66
|
||||
* fix BuildRequires
|
||||
* fix %python_expand $python executable replacement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 14 09:11:15 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
@ -32,17 +32,21 @@ BuildRequires: %{python_module purl}
|
||||
BuildRequires: %{python_module purl}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.3}
|
||||
BuildRequires: %{python_module rpm-macros}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module testrepository >= 0.0.18}
|
||||
BuildRequires: %{python_module testtools}
|
||||
BuildRequires: python-rpm-macros
|
||||
%if 0%{suse_version} >= 1550
|
||||
BuildRequires: %{python_module dbm}
|
||||
%else
|
||||
BuildRequires: python3-dbm
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
Requires: python-requests >= 2.3
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%ifpython3
|
||||
BuildRequires: python3-dbm
|
||||
Requires: python3-dbm
|
||||
%if "%python_flavor" != "python2"
|
||||
Requires: python-dbm
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
@ -66,7 +70,7 @@ You should checkout the docs for more information.
|
||||
mv .testr.conf .testr.conf.orig
|
||||
%{python_expand # first line can't be empty
|
||||
rm -rf .testrepository
|
||||
sed 's/python/$python/' .testr.conf.orig >| .testr.conf
|
||||
sed 's/python /$python /' .testr.conf.orig >| .testr.conf
|
||||
testr init
|
||||
testr run --parallel
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user