- Regenerate test_certs.p12 due to the upstream certificate expiring
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=22
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 29 04:35:08 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Regenerate test_certs.p12 due to the upstream certificate expiring
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 11 16:08:10 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
Thu Feb 11 16:08:10 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
@@ -25,6 +25,8 @@ License: Apache-2.0
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/requests/toolbelt
|
URL: https://github.com/requests/toolbelt
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/requests-toolbelt/requests-toolbelt-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/requests-toolbelt/requests-toolbelt-%{version}.tar.gz
|
||||||
|
# Replace expired test certificate
|
||||||
|
Source1: test_cert.p12
|
||||||
Patch0: fix-tests.patch
|
Patch0: fix-tests.patch
|
||||||
# PATCH-FIX-UPSTREAM remove_mock.patch bsc#[0-9]+ mcepl@suse.com
|
# PATCH-FIX-UPSTREAM remove_mock.patch bsc#[0-9]+ mcepl@suse.com
|
||||||
# remove dependency on the external mock package
|
# remove dependency on the external mock package
|
||||||
@@ -54,6 +56,7 @@ some idiosyncracies prevent effective or sane testing on that version.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n requests-toolbelt-%{version}
|
%autosetup -p1 -n requests-toolbelt-%{version}
|
||||||
|
cp %{SOURCE1} tests/certs
|
||||||
|
|
||||||
rm -rf requests_toolbelt.egg-info
|
rm -rf requests_toolbelt.egg-info
|
||||||
# requires network access
|
# requires network access
|
||||||
|
BIN
test_cert.p12
Normal file
BIN
test_cert.p12
Normal file
Binary file not shown.
Reference in New Issue
Block a user