14
0
forked from pool/python-vcrpy

Accepting request 778778 from home:mcalabkova:branches:devel:languages:python

* Enable python2 again since it breaks many packages
- Fix locale on Leap

OBS-URL: https://build.opensuse.org/request/show/778778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=24
This commit is contained in:
Tomáš Chvátal
2020-02-24 14:45:05 +00:00
committed by Git OBS Bridge
parent 6d5e8b6c8d
commit af828b6722
2 changed files with 5 additions and 1 deletions

View File

@@ -2,7 +2,8 @@
Mon Feb 24 09:14:21 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> Mon Feb 24 09:14:21 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Added patch 0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch - Added patch 0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch
* Enable python2 again since it breaks many packages. * Enable python2 again since it breaks many packages
- Fix locale on Leap
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 7 14:58:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> Fri Feb 7 14:58:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -65,15 +65,18 @@ This is a Python version of Ruby's VCR library.
rm -r tests/integration rm -r tests/integration
%build %build
export LANG=en_US.UTF-8
%python_build %python_build
%install %install
export LANG=en_US.UTF-8
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/vcr %python_expand %fdupes %{buildroot}%{$python_sitelib}/vcr
%check %check
# Skip TestVCRConnection.testing_connect. Attempts # Skip TestVCRConnection.testing_connect. Attempts
# a real connection. # a real connection.
export LANG=en_US.UTF-8
%pytest -k "not testing_connect" %pytest -k "not testing_connect"
%files %{python_files} %files %{python_files}