Hello community, here is the log from the commit of package python-Babel for openSUSE:Factory checked in at 2015-05-30 12:33:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Babel (Old) and /work/SRC/openSUSE:Factory/.python-Babel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Babel" Changes: -------- --- /work/SRC/openSUSE:Factory/python-Babel/python-Babel.changes 2014-11-15 12:25:02.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-Babel.new/python-Babel.changes 2015-05-30 12:33:28.000000000 +0200 @@ -1,0 +2,5 @@ +Thu May 28 12:21:10 UTC 2015 - toddrme2178@gmail.com + +- Fix update-alternatives usage + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Babel.spec ++++++ --- /var/tmp/diff_new_pack.XtEZg9/_old 2015-05-30 12:33:29.000000000 +0200 +++ /var/tmp/diff_new_pack.XtEZg9/_new 2015-05-30 12:33:29.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Babel # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -63,7 +63,11 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -ln -s %{_bindir}/pybabel-%{py_ver} %{buildroot}%{_bindir}/pybabel + +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +touch %{buildroot}%{_sysconfdir}/alternatives/pybabel +ln -sf %{_sysconfdir}/alternatives/pybabel %{buildroot}%{_bindir}/pybabel + %fdupes %{buildroot}%{python_sitelib} %check @@ -77,7 +81,7 @@ %post update-alternatives --install %{_bindir}/pybabel pybabel %{_bindir}/pybabel-%{py_ver} 20 -%preun +%postun if [ $1 -eq 0 ] ; then update-alternatives --remove pybabel %{_bindir}/pybabel-%{py_ver} fi @@ -85,7 +89,8 @@ %files %defattr(-,root,root,-) %doc LICENSE CHANGES README build/sphinx/html -%ghost %{_bindir}/pybabel +%ghost %{_sysconfdir}/alternatives/pybabel +%{_bindir}/pybabel %{_bindir}/pybabel-%{py_ver} %{python_sitelib}/*
participants (1)
-
root@hilbert.suse.de