Hello community, here is the log from the commit of package python3-nose for openSUSE:Factory checked in at 2014-02-26 06:55:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-nose (Old) and /work/SRC/openSUSE:Factory/.python3-nose.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-nose" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-nose/python3-nose.changes 2013-08-02 15:30:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-nose.new/python3-nose.changes 2014-02-26 06:55:37.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Feb 10 15:07:57 UTC 2014 - [email protected] + +- Fix update-alternatives usage + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-nose-doc.spec ++++++ --- /var/tmp/diff_new_pack.ZYbSFr/_old 2014-02-26 06:55:38.000000000 +0100 +++ /var/tmp/diff_new_pack.ZYbSFr/_new 2014-02-26 06:55:38.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-nose-doc # -# 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 ++++++ python3-nose.spec ++++++ --- /var/tmp/diff_new_pack.ZYbSFr/_old 2014-02-26 06:55:38.000000000 +0100 +++ /var/tmp/diff_new_pack.ZYbSFr/_new 2014-02-26 06:55:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-nose # -# 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 @@ -69,28 +69,23 @@ %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -mv %{buildroot}%{_mandir}/man1/nosetests.1 %{buildroot}%{_mandir}/man1/nosetests-%{py3_ver}.1 -ln -s %{_mandir}/man1/nosetests-%{py3_ver}.1 %{buildroot}%{_mandir}/man1/nosetests.1 rm %{buildroot}%{_bindir}/nosetests -ln -s %{_bindir}/nosetests-%{py3_ver} %{buildroot}%{_bindir}/nosetests +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +touch %{buildroot}%{_sysconfdir}/alternatives/nosetests +ln -sf %{_sysconfdir}/alternatives/nosetests %{buildroot}/%{_bindir}/nosetests +mv %{buildroot}%{_mandir}/man1/nosetests.1 %{buildroot}%{_mandir}/man1/nosetests-%{py3_ver}.1 +touch %{buildroot}%{_sysconfdir}/alternatives/nosetests.1.gz +ln -sf %{_sysconfdir}/alternatives/nosetests.1.gz %{buildroot}%{_mandir}/man1/nosetests.1.gz #%%check #python3 setup.py test -%pre -# Since /usr/bin/nosetests and /usr/share/man/man1/nosetests.1.gz 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}/nosetests ]] && rm -f %{_bindir}/nosetests -[[ ! -L %{_mandir}/man1/nosetests.1.gz ]] && rm -f %{_mandir}/man1/nosetests.1.gz -exit 0 - %post update-alternatives \ --install %{_bindir}/nosetests nosetests %{_bindir}/nosetests-%{py3_ver} 30 \ --slave %{_mandir}/man1/nosetests.1.gz nosetests.1 %{_mandir}/man1/nosetests-%{py3_ver}.1.gz -%preun +%postun if [ $1 -eq 0 ] ; then update-alternatives --remove nosetests %{_bindir}/nosetests-%{py3_ver} fi @@ -98,10 +93,12 @@ %files %defattr(-,root,root,-) %doc NEWS README.txt lgpl.txt -%ghost %{_bindir}/nosetests +%{_bindir}/nosetests %{_bindir}/nosetests-%{py3_ver} -%ghost %{_mandir}/man1/nosetests.1.gz +%{_mandir}/man1/nosetests.1.gz %{_mandir}/man1/nosetests-%{py3_ver}.1.gz +%ghost %{_sysconfdir}/alternatives/nosetests +%ghost %{_sysconfdir}/alternatives/nosetests.1.gz %{python3_sitelib}/nose-%{version}-py%{py3_ver}.egg-info/ %{python3_sitelib}/nose -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
