Hello community,

here is the log from the commit of package python-django_compressor for 
openSUSE:Factory checked in at 2017-11-16 14:02:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django_compressor (Old)
 and      /work/SRC/openSUSE:Factory/.python-django_compressor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django_compressor"

Thu Nov 16 14:02:47 2017 rev:12 rq:542115 version:2.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django_compressor/python-django_compressor.changes
        2017-09-22 21:34:06.475015931 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django_compressor.new/python-django_compressor.changes
   2017-11-16 14:02:48.897710369 +0100
@@ -1,0 +2,15 @@
+Wed Nov 15 17:08:49 UTC 2017 - buschman...@opensuse.org
+
+- update to 2.2
+  + Switch from MD5 to SHA256 for hashes generation.
+  + Add Django 1.11 compatibility
+  + Various compatibility fixes for Python 3.6 and Django 1.8
+  + Made OfflineGenerationError easier to debug
+  + Drop support for Python 3.2
+  + Add new CssRelativeFilter which works like CssAbsoluteFilter
+    but outputs relative URLs.
+  + Fix URL CssAbsoluteFilter URL detection
+- spec file
+  + convert to single spec file
+
+-------------------------------------------------------------------

Old:
----
  django_compressor-2.1.1.tar.gz

New:
----
  django_compressor-2.2.tar.gz

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

Other differences:
------------------
++++++ python-django_compressor.spec ++++++
--- /var/tmp/diff_new_pack.0SJrq2/_old  2017-11-16 14:02:50.069667896 +0100
+++ /var/tmp/diff_new_pack.0SJrq2/_new  2017-11-16 14:02:50.073667751 +0100
@@ -16,17 +16,23 @@
 #
 
 
-Name:           python-django_compressor
-Version:        2.1.1
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
+%define mod_name django_compressor
+
+Name:           python-%{mod_name}
+Version:        2.2
 Release:        0
 Summary:        Compresses Linked and Inline JavaScript or CSS Into Single 
Cached Files
 License:        MIT and BSD-3-Clause and Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://django_compressor.readthedocs.org/
-Source:         
https://pypi.io/packages/source/d/django_compressor/django_compressor-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-Requires:       python-django
+Source:         
https://files.pythonhosted.org/packages/source/d/%{mod_name}/%{mod_name}-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       python-Django
 Requires:       python-django-appconf >= 1.0
 Requires:       python-rcssmin >= 1.0.6
 Requires:       python-rjsmin >= 1.0.12
@@ -36,12 +42,10 @@
 Suggests:       python-lxml
 Suggests:       python-slimit
 %endif
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%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
 BuildArch:      noarch
-%endif
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%python_subpackages
 
 %description
 Django Compressor combines and compresses linked and inline Javascript or CSS
@@ -49,15 +53,16 @@
 template tag.
 
 %prep
-%setup -q -n django_compressor-%{version}
+%setup -q -n %{mod_name}-%{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
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc AUTHORS LICENSE README.rst
 %{python_sitelib}/*

++++++ django_compressor-2.1.1.tar.gz -> django_compressor-2.2.tar.gz ++++++
++++ 2140 lines of diff (skipped)


Reply via email to