commit python-py2pack for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-py2pack for openSUSE:Factory checked in at 2017-06-23 09:18:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-py2pack (Old) and /work/SRC/openSUSE:Factory/.python-py2pack.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-py2pack" Fri Jun 23 09:18:14 2017 rev:41 rq:505629 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-py2pack/python-py2pack.changes 2017-05-27 13:14:31.376095914 +0200 +++ /work/SRC/openSUSE:Factory/.python-py2pack.new/python-py2pack.changes 2017-06-23 09:18:44.811196126 +0200 @@ -1,0 +2,5 @@ +Thu Jun 22 08:37:19 UTC 2017 - tbechtold@suse.com + +- Use update-alternatives for the py2pack executable + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-py2pack.spec ++++++ --- /var/tmp/diff_new_pack.7piqyd/_old 2017-06-23 09:18:45.375116443 +0200 +++ /var/tmp/diff_new_pack.7piqyd/_new 2017-06-23 09:18:45.375116443 +0200 @@ -26,21 +26,23 @@ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/py2pack/py2pack-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module devel} BuildRequires: %{python_module metaextract} BuildRequires: %{python_module pbr} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module sphinxcontrib-programoutput} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Jinja2 Requires: python-metaextract Requires: python-pbr Requires: python-setuptools Requires: python-six +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -52,6 +54,7 @@ %package -n %{name}-doc Summary: Documentation for %{name} +Group: Development/Languages/Python Provides: %{python_module py2pack-doc = %{version}} %description -n %{name}-doc @@ -68,10 +71,17 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/py2pack + +%post +%python_install_alternative py2pack + +%postun +%python_uninstall_alternative py2pack %files %{python_files} %defattr(-,root,root,-) -%python3_only %{_bindir}/py2pack +%python_alternative %{_bindir}/py2pack %{python_sitelib}/py2pack-%{version}-py*.egg-info %{python_sitelib}/py2pack/
participants (1)
-
root@hilbert.suse.de