Hello community, here is the log from the commit of package python-Django for openSUSE:Factory checked in at 2017-07-30 11:19:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Django (Old) and /work/SRC/openSUSE:Factory/.python-Django.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Django" Sun Jul 30 11:19:59 2017 rev:31 rq:509479 version:1.10.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Django/python-Django.changes 2017-05-09 17:59:51.632782406 +0200 +++ /work/SRC/openSUSE:Factory/.python-Django.new/python-Django.changes 2017-07-30 11:20:00.327816595 +0200 @@ -1,0 +2,5 @@ +Mon Jul 10 18:42:12 UTC 2017 - [email protected] + +- Fix wrong-script-interpreter rpmlint error. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Django.spec ++++++ --- /var/tmp/diff_new_pack.NjgGO9/_old 2017-07-30 11:20:01.019719045 +0200 +++ /var/tmp/diff_new_pack.NjgGO9/_new 2017-07-30 11:20:01.023718481 +0200 @@ -71,18 +71,25 @@ %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} - -%python_expand install -D -m 0644 extras/django_bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion-%{$python_bin_suffix}.sh %python_clone -a %{buildroot}%{_bindir}/django-admin.py %python_clone -a %{buildroot}%{_bindir}/django-admin -%{python_expand %fdupes %{buildroot}%{$python_sitelib} -# Deduplicating files can generate a RPMLINT warning for pyc mtime +%{python_expand install -D -m 0644 extras/django_bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion-%{$python_bin_suffix}.sh pushd %{buildroot}%{$python_sitelib} +# Fix wrong-script-interpreter +sed -i "s|#!/usr/bin/env python|#!%__$python|" django/bin/django-admin.py +sed -i "s|#!/usr/bin/env python|#!%__$python|" django/conf/project_template/manage.py-tpl +%fdupes . +# Deduplicating files can generate a RPMLINT warning for pyc mtime +$python -m compileall -d %{$python_sitelib} django/bin/django-admin.py +$python -O -m compileall -d %{$python_sitelib} django/bin/django-admin.py +$python -m compileall -d %{$python_sitelib} django/conf/project_template/manage.py-tpl +$python -O -m compileall -d %{$python_sitelib} django/conf/project_template/manage.py-tpl $python -m compileall -d %{$python_sitelib} django/conf/locale/ +$python -O -m compileall -d %{$python_sitelib} django/conf/locale/ $python -m compileall -d %{$python_sitelib} django/conf/locale/ru/ +$python -O -m compileall -d %{$python_sitelib} django/conf/locale/ru/ popd }
