Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-grappelli for
openSUSE:Factory checked in at 2022-01-13 23:21:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-grappelli (Old)
and /work/SRC/openSUSE:Factory/.python-django-grappelli.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-grappelli"
Thu Jan 13 23:21:01 2022 rev:21 rq:946103 version:3.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-grappelli/python-django-grappelli.changes
2020-08-31 16:53:43.712455605 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-grappelli.new.1892/python-django-grappelli.changes
2022-01-13 23:21:41.684057426 +0100
@@ -1,0 +2,28 @@
+Thu Jan 13 11:23:29 UTC 2022 - John Vandenberg <[email protected]>
+
+- Remove tests from runtime package
+- Update to v3.0.1
+ * Add compatibility with Django 4.0.
+- from v2.15.4
+ * Removed obsolete ifnotequal tag with search template.
+ * Removed duplicate Django Javascripts from Grappelli.
+ * Improved and styled Django autocompletes.
+- from v2.15.3
+ * Added missing files from previous release.
+- from v2.15.2
+ * Fixed ellipsis with pagination.
+ * Fixed redirect with switch.
+ * Fixed constance template.
+ * Fixed Django Autocompletes.
+- from v2.15.1
+ * First release of Grappelli which is compatible with Django 3.2.
+- from v2.14.4
+ * Fixed: Redirect with switch user.
+ * Improved: Remove extra filtering in AutocompleteLookup.
+ * Improved: Added import statement with URLs for quickstart docs.
+ * Improved: Added additional blocks with inlines to allow override.
+- from v2.14.3
+ * Fixed: Compatibility with Django 3.1.
+ * Fixed: Docs about adding Grappelli documentation URLS.
+
+-------------------------------------------------------------------
Old:
----
2.14.2.tar.gz
New:
----
django-grappelli-3.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-grappelli.spec ++++++
--- /var/tmp/diff_new_pack.H4Add4/_old 2022-01-13 23:21:42.688058082 +0100
+++ /var/tmp/diff_new_pack.H4Add4/_new 2022-01-13 23:21:42.692058086 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-grappelli
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-django-grappelli
-Version: 2.14.2
+Version: 3.0.1
Release: 0
Summary: A skin for the Django Admin-Interface
License: BSD-2-Clause AND LGPL-2.1-or-later
URL: https://github.com/sehmaschine/django-grappelli
-Source:
https://github.com/sehmaschine/django-grappelli/archive/%{version}.tar.gz
+Source:
https://github.com/sehmaschine/django-grappelli/archive/%{version}.tar.gz#/django-grappelli-%{version}.tar.gz
BuildRequires: %{python_module Django >= 2.2}
BuildRequires: %{python_module py >= 1.8}
BuildRequires: %{python_module pytest >= 5.0}
@@ -41,24 +41,27 @@
%prep
%setup -q -n django-grappelli-%{version}
+find grappelli/templates/ -type f | xargs chmod -R a-x
+find grappelli/static/grappelli/stylesheets/ -type f | xargs chmod -R a-x
%build
%python_build
%install
%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand rm -r %{buildroot}%{$python_sitelib}/grappelli/tests/
+%fdupes %{buildroot}%{$python_sitelib}
+}
%check
PYTHONPATH=.
export PYTHONDONTWRITEBYTECODE=1
export DJANGO_SETTINGS_MODULE=test_project.settings
-# test_related_lookup - uses unicode literals that break on py2
-%pytest -k 'not test_related_lookup'
+%pytest
%files %{python_files}
%license LICENSE
%doc AUTHORS README.rst
-%{python_sitelib}/*
+%{python_sitelib}/*grappelli*/
%changelog