Hello community,

here is the log from the commit of package python-django-reversion for 
openSUSE:Factory checked in at 2018-05-30 12:23:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-reversion (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-reversion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-reversion"

Wed May 30 12:23:04 2018 rev:2 rq:612645 version:2.0.13

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-reversion/python-django-reversion.changes
  2015-04-25 11:23:04.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-reversion.new/python-django-reversion.changes
     2018-05-30 12:37:41.519634302 +0200
@@ -1,0 +2,11 @@
+Mon May 28 03:09:07 UTC 2018 - 9+suse@cirno.systems
+
+- 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-2.0.13.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-reversion.spec ++++++
--- /var/tmp/diff_new_pack.Kcriic/_old  2018-05-30 12:37:42.235611689 +0200
+++ /var/tmp/diff_new_pack.Kcriic/_new  2018-05-30 12:37:42.239611563 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-reversion
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,47 +16,90 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-django-reversion
-Version:        1.8.6
+Version:        2.0.13
 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 setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+# SECTION documentation requirements
+BuildRequires:  %{python_module Django}
+BuildRequires:  %{python_module Sphinx}
+# /SECTION
+Requires:       python-Django
+Recommends:     %{name}-lang = %{version}
 BuildArch:      noarch
-%endif
+%python_subpackages
 
-%description
-django-reversion is an extension to the Django web framework that provides
-comprehensive version control facilities.
+%package lang
+Summary:        Translations for package %{name}
+Group:          System/Localization
+Requires:       %{name} = %{version}
+Provides:       %{name}-lang-all = %{version}
+Supplements:    %{name}
+BuildArch:      noarch
+
+%package doc
+Summary:        Documentation for %{name}
+Group:          Documentation/HTML
+Requires:       %{name} = %{version}
 
-* 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.
+%description doc
+This package contains documentation files for %{name}.
+
+%description lang
+Provides translations for the "%{name}" package.
+
+%description
+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
+if [ ! -d html ]; then
+    %python_exec setup.py develop --user
+    sphinx-build docs html
+    rm -r html/.buildinfo html/.doctrees
+fi
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-%files
-%defattr(-,root,root,-)
-%doc CHANGELOG.rst LICENSE README.rst
+%python_install
+%find_lang django
+%python_expand grep -F "%{$python_sitelib}" django.lang > 
django_%{$python_bin_suffix}.lang
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%files %{python_files}
+%doc README.rst CHANGELOG.rst
+%license LICENSE
 %{python_sitelib}/*
+%exclude %{python_sitelib}/reversion/locale
+
+%files -n %{name}-doc
+%doc html
+
+%if %have_python2 && ! 0%{?skip_python2}
+%files -n %{python2_prefix}-django-reversion-lang -f 
django_%{python2_bin_suffix}.lang
+%license LICENSE
+%{python2_sitelib}/reversion/locale
+%endif
+
+%if %have_python2 && ! 0%{?skip_python3}
+%files -n %{python3_prefix}-django-reversion-lang -f 
django_%{python3_bin_suffix}.lang
+%license LICENSE
+%{python3_sitelib}/reversion/locale
+%endif
 
 %changelog

++++++ django-reversion-1.8.6.tar.gz -> django-reversion-2.0.13.tar.gz ++++++
++++ 14599 lines of diff (skipped)


Reply via email to