Hello community,
here is the log from the commit of package python-django-reversion for
openSUSE:Leap:15.2 checked in at 2020-02-23 16:47:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-django-reversion (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-django-reversion.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-reversion"
Sun Feb 23 16:47:32 2020 rev:11 rq:776581 version:3.0.5
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-django-reversion/python-django-reversion.changes
2020-01-15 15:48:40.839434138 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-django-reversion.new.26092/python-django-reversion.changes
2020-02-23 16:47:32.722329173 +0100
@@ -1,0 +2,96 @@
+Fri Dec 6 13:42:03 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Fix the requires on the Django as it really works with > 1.11 and
+ does not support python 2 anymore
+
+-------------------------------------------------------------------
+Thu Dec 5 23:22:25 UTC 2019 - Martin Herkt <[email protected]>
+
+- Update to 3.0.5:
+ * Improved performance of `get_deleted` for large datasets.
+ * Django 3.0 compatibility.
+ * Drops Django <= 1.11 compatibility.
+ * Fixed errors in manageement commands when
+ `django.contrib.admin` is not in `INSTALLED_APPS`.
+
+-------------------------------------------------------------------
+Wed May 22 10:51:51 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.0.4:
+ * Various dependency fixes
+- Upstreamed 0000-Remove-django.contrib.admin-dependency.patch
+
+-------------------------------------------------------------------
+Sat May 4 15:55:42 UTC 2019 - Martin Herkt <[email protected]>
+
+- Add 0000-Remove-django.contrib.admin-dependency.patch
+ https://github.com/etianen/django-reversion/issues/744
+
+-------------------------------------------------------------------
+Wed Apr 24 12:34:53 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Do not mess around with doc/lang subpackages, the docs are
+ all online and the lang split actually breaks as the lang part
+ is hard-required for the python to work in most cases
+
+-------------------------------------------------------------------
+Mon Mar 11 14:21:35 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Fix typo python2->python3
+
+-------------------------------------------------------------------
+Thu Jan 24 16:37:04 UTC 2019 - Martin Herkt <[email protected]>
+
+- Update to version 3.0.3:
+ * Improved performance of many reversion database queries using
+ `EXISTS` subquery.
+ * Added support for Django 2.1 `view` permission.
+
+-------------------------------------------------------------------
+Tue Nov 6 17:12:16 UTC 2018 - Martin Herkt <[email protected]>
+
+- Update to version 3.0.2:
+ * Removed squashed migrations, as they subtly messed up the
+ Django migrations framework
+
+-------------------------------------------------------------------
+Mon Oct 29 22:26:50 UTC 2018 - Martin Herkt <[email protected]>
+
+- Update to version 3.0.1:
+ * Added squashed migrations back in to allow older installations
+ to upgrade
+ * Fixed TypeError exception when accessing m2m_data attribute
+ from a field that points to Django’s User model
+
+-------------------------------------------------------------------
+Fri Jul 20 10:00:17 UTC 2018 - [email protected]
+
+- Update to version 3.0.0:
+ * Breaking: 'Revision.commment' now contains the raw JSON change
+ message generated by django admin, rather than a string.
+ Accesing 'Revision.comment' directly is no longer recommended.
+ Instead, use 'Revision.get_comment()'.
+ * Breaking: django-reversion now uses '_base_manager' to
+ calculate deleted models, not '_default_manager'. This change
+ will only affect models that perform default filtering in their
+ '_default_manager'
+ * Added 'request_creates_revision' hook to 'RevisionMiddleware'
+ and 'views.create_revision'.
+ * Added 'revision_request_creates_revision' hook to
+ 'views.RevisionMixinView'.
+ * Added '--meta' flag to './manage.py createrevisions'
+ * Fixed bug when reverting deleted nested inlines
+ * Added tests for django 2.1
+
+-------------------------------------------------------------------
+Mon May 28 03:09:07 UTC 2018 - [email protected]
+
+- Rewrite spec file to current conventions
+ * Build documentation
+ * lang packages
+ * Not running tests as these require configuring MySQL and PostgreSQL
+- Update to version 2.0.13:
+ * Years worth of changes, including a breaking major version bump.
+ See CHANGELOG.rst in the package documentation path for details.
+
+-------------------------------------------------------------------
Old:
----
django-reversion-1.8.6.tar.gz
New:
----
django-reversion-3.0.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-reversion.spec ++++++
--- /var/tmp/diff_new_pack.6lMmdw/_old 2020-02-23 16:47:33.170330035 +0100
+++ /var/tmp/diff_new_pack.6lMmdw/_new 2020-02-23 16:47:33.174330042 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-reversion
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,51 +12,56 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-django-reversion
-Version: 1.8.6
+Version: 3.0.5
Release: 0
-Url: http://github.com/etianen/django-reversion
-Summary: An app that provides comprehensive version control facilities
for Django
+Summary: A Django extension that provides version control for model
instances
License: BSD-3-Clause
-Group: Development/Languages/Python
-Source:
https://pypi.python.org/packages/source/d/django-reversion/django-reversion-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python-devel
-Requires: python-django
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+URL: http://github.com/etianen/django-reversion
+Source:
https://files.pythonhosted.org/packages/source/d/django-reversion/django-reversion-%{version}.tar.gz
+BuildRequires: %{python_module Django > 1.11}
+BuildRequires: %{python_module mysqlclient}
+BuildRequires: %{python_module psycopg2}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+Requires: python-Django > 1.11
+Obsoletes: python-django-reversion-doc
+Obsoletes: python-django-reversion-lang
BuildArch: noarch
-%endif
+%python_subpackages
%description
-django-reversion is an extension to the Django web framework that provides
-comprehensive version control facilities.
-
-* Roll back to any point in a model's history - an unlimited undo facility!
-* Recover deleted models - never lose data again!
-* Admin integration for maximum usability.
-* Group related changes into revisions that can be rolled back in a single
transaction.
-* Automatically save a new version whenever your model changes using Django's
flexible signalling framework.
-* Automate your revision management with easy-to-use middleware.
+Django-reversion is an extension to the Django web framework that provides
+version control for model instances.
+- Roll back to any point in a model instance's history.
+- Recover deleted model instances.
+- Simple admin integration.
%prep
%setup -q -n django-reversion-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%files
-%defattr(-,root,root,-)
-%doc CHANGELOG.rst LICENSE README.rst
+%check
+# Tests need running PGSQL and MYSQL
+#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python
tests/manage.py test tests
+
+%files %{python_files}
+%doc README.rst CHANGELOG.rst
+%license LICENSE
%{python_sitelib}/*
%changelog
++++++ django-reversion-1.8.6.tar.gz -> django-reversion-3.0.5.tar.gz ++++++
++++ 14476 lines of diff (skipped)