Hello community,
here is the log from the commit of package python-django-cors-headers for
openSUSE:Factory checked in at 2020-01-13 22:22:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-cors-headers (Old)
and /work/SRC/openSUSE:Factory/.python-django-cors-headers.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-cors-headers"
Mon Jan 13 22:22:11 2020 rev:6 rq:763928 version:3.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-cors-headers/python-django-cors-headers.changes
2020-01-07 23:54:48.340076540 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-cors-headers.new.6675/python-django-cors-headers.changes
2020-01-13 22:22:17.086539391 +0100
@@ -1,0 +2,5 @@
+Mon Jan 13 12:02:30 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Build on Leap by not using the macros
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-cors-headers.spec ++++++
--- /var/tmp/diff_new_pack.Ue0lbd/_old 2020-01-13 22:22:17.958539796 +0100
+++ /var/tmp/diff_new_pack.Ue0lbd/_new 2020-01-13 22:22:17.962539798 +0100
@@ -26,8 +26,6 @@
URL: https://github.com/adamchainz/django-cors-headers
Source:
https://files.pythonhosted.org/packages/source/d/django-cors-headers/django-cors-headers-%{version}.tar.gz
BuildRequires: %{python_module Django}
-# Test config requires 100% test coverage
-BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-django}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -42,6 +40,7 @@
%prep
%setup -q -n django-cors-headers-%{version}
+rm pytest.ini
%build
%python_build
@@ -52,7 +51,7 @@
%check
export DJANGO_SETTINGS_MODULE=tests.settings
-%pytest
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest -v
%files %{python_files}
%license LICENSE