Hello community,

here is the log from the commit of package python3-Django for openSUSE:Factory 
checked in at 2014-02-26 06:55:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-Django (Old)
 and      /work/SRC/openSUSE:Factory/.python3-Django.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-Django"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-Django/python3-Django.changes    
2013-12-18 07:52:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Django.new/python3-Django.changes       
2014-02-26 06:55:41.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Feb 14 09:36:57 UTC 2014 - speili...@suse.com
+
+- Fix update-alternatives (again)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python3-Django.spec ++++++
--- /var/tmp/diff_new_pack.94YUXR/_old  2014-02-26 06:55:44.000000000 +0100
+++ /var/tmp/diff_new_pack.94YUXR/_new  2014-02-26 06:55:44.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-Django
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -49,16 +49,14 @@
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 install -D -m 0644 extras/django_bash_completion 
%{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion-%{py3_ver}.sh
-ln -s %{_sysconfdir}/bash_completion.d/django_bash_completion-%{py3_ver}.sh 
%{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion.sh
-ln -s %{_bindir}/django-admin.py-%{py3_ver} 
%{buildroot}%{_bindir}/django-admin.py
-%fdupes %{buildroot}%{python3_sitelib}
 
-%pre
-# Since /usr/bin/django-admin.py became ghosted to be used with 
update-alternatives, we have to get rid
-# of the old binary resulting from the non-update-alternativies-ified package:
-[[ ! -L %{_bindir}/django-admin.py ]] && rm -f %{_bindir}/django-admin.py
-[[ ! -L %{_sysconfdir}/bash_completion.d/django_bash_completion.sh ]] && rm -f 
%{_sysconfdir}/bash_completion.d/django_bash_completion.sh
-exit 0
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+touch %{buildroot}%{_sysconfdir}/alternatives/django-admin.py
+ln -sf %{_sysconfdir}/alternatives/django-admin.py 
%{buildroot}/%{_bindir}/django-admin.py
+touch %{buildroot}%{_sysconfdir}/alternatives/django_bash_completion.sh
+ln -sf %{_sysconfdir}/alternatives/django_bash_completion.sh 
%{buildroot}%{_sysconfdir}/bash_completion.d/django_bash_completion.sh
+
+%fdupes %{buildroot}%{python3_sitelib}
 
 %post
 update-alternatives \
@@ -73,12 +71,13 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS LICENSE README.rst
-%ghost %{_bindir}/django-admin.py
-%ghost %{_sysconfdir}/alternatives/django-admin.py
+%{_bindir}/django-admin.py
 %{_bindir}/django-admin.py-%{py3_ver}
+%ghost %{_sysconfdir}/alternatives/django-admin.py
+%{_sysconfdir}/bash_completion.d/django_bash_completion.sh
+%{_sysconfdir}/bash_completion.d/django_bash_completion-%{py3_ver}.sh
+%ghost %{_sysconfdir}/alternatives/django_bash_completion.sh
 %{python3_sitelib}/django
 %{python3_sitelib}/Django-%{version}-py%{py3_ver}.egg-info
-%ghost %{_sysconfdir}/bash_completion.d/django_bash_completion.sh
-%{_sysconfdir}/bash_completion.d/django_bash_completion-%{py3_ver}.sh
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to