Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Django for openSUSE:Factory checked in at 2021-02-16 22:34:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Django (Old) and /work/SRC/openSUSE:Factory/.python-Django.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Django" Tue Feb 16 22:34:25 2021 rev:71 rq:872447 version:3.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Django/python-Django.changes 2020-12-12 20:31:45.561814167 +0100 +++ /work/SRC/openSUSE:Factory/.python-Django.new.28504/python-Django.changes 2021-02-16 22:34:29.957497901 +0100 @@ -1,0 +2,10 @@ +Sat Feb 13 22:41:42 UTC 2021 - Ben Greiner <[email protected]> + +- Don't install python36-numpy for testing. It is no longer + available. (The tests or portions of tests requiring numpy + are skipped automatically in this case.) +- Let the singlespec macro do its job to set the primary provider + for python3-django and python3-South on the primary flavor only. +- Fix mtime of cache file by recompiling. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Django.spec ++++++ --- /var/tmp/diff_new_pack.UFQpYB/_old 2021-02-16 22:34:30.709498932 +0100 +++ /var/tmp/diff_new_pack.UFQpYB/_new 2021-02-16 22:34:30.717498943 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Django # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -45,7 +45,6 @@ BuildRequires: %{python_module bcrypt} BuildRequires: %{python_module docutils} BuildRequires: %{python_module geoip2} -BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module sqlparse >= 0.2.2} @@ -53,6 +52,7 @@ BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: %{python_module numpy if (%python-base without python36-base)} Requires: python Requires: python-Pillow Requires: python-argon2-cffi >= 16.1.0 @@ -69,10 +69,10 @@ Recommends: python-geoip2 Recommends: python-pylibmc Recommends: python-python-memcached >= 1.59 -Provides: python3-django = %{version} -Obsoletes: python3-django < %{version} -Provides: python3-South = %{version} -Obsoletes: python3-South < %{version} +Provides: python-django = %{version} +Obsoletes: python-django < %{version} +Provides: python-South = %{version} +Obsoletes: python-South < %{version} BuildArch: noarch %if %{with memcached} BuildRequires: %{python_module pylibmc} @@ -114,9 +114,12 @@ %{python_expand install -D -m 0644 extras/django_bash_completion %{buildroot}%%{_datadir}/bash-completion/completions/django_bash_completion-%{$python_bin_suffix}.sh # Fix wrong-script-interpreter -sed -i "s|^#!%{_bindir}/env python$|#!%{__$python}|" \ +sed -i "s|^#!%{_bindir}/env python$|#!%{_bindir}/$python|" \ %{buildroot}%{$python_sitelib}/django/bin/django-admin.py \ %{buildroot}%{$python_sitelib}/django/conf/project_template/manage.py-tpl +} +%python_compileall +%{python_expand # %fdupes %{buildroot}%{$python_sitelib}/django/ %fdupes %{buildroot}%{$python_sitelib}/Django-%{version}-py*.egg-info/ } @@ -128,7 +131,7 @@ export PATH=%{_libdir}/chromium:$PATH %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run $python tests/runtests.py -v 2 --selenium=chrome %else -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/runtests.py +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/runtests.py -v 2 %endif %post
