Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-haproxyctl for openSUSE:Factory checked in at 2021-02-18 20:39:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-haproxyctl (Old) and /work/SRC/openSUSE:Factory/.python-haproxyctl.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-haproxyctl" Thu Feb 18 20:39:43 2021 rev:2 rq:865875 version:0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-haproxyctl/python-haproxyctl.changes 2019-07-22 17:19:08.285922750 +0200 +++ /work/SRC/openSUSE:Factory/.python-haproxyctl.new.28504/python-haproxyctl.changes 2021-02-18 20:50:16.059318524 +0100 @@ -1,0 +2,6 @@ +Fri Jan 22 09:07:29 UTC 2021 - Mark??ta Machov?? <mmach...@suse.com> + +- Ship example conf for each flavor +- Handle binary with update-alternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-haproxyctl.spec ++++++ --- /var/tmp/diff_new_pack.foh0l0/_old 2021-02-18 20:50:16.575319029 +0100 +++ /var/tmp/diff_new_pack.foh0l0/_new 2021-02-18 20:50:16.579319032 +0100 @@ -52,20 +52,27 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/haproxyctl %python_expand %fdupes %{buildroot}%{$python_sitelib} -mkdir -p %{buildroot}%{_datadir}/%{name}/ -cp -a conf %{buildroot}%{_datadir}/%{name}/ +%{python_expand mkdir -p %{buildroot}%{_datadir}/$python-haproxyctl/ +cp -a conf %{buildroot}%{_datadir}/$python-haproxyctl/} %check %{python_expand $python -m unittest discover -s haproxy/tests} +%post +%python_install_alternative haproxyctl + +%postun +%python_uninstall_alternative haproxyctl + %files %{python_files} %doc README.md %license gpl-3.0.txt -%dir %{_datadir}/%{name} +%dir %{_datadir}/%{python_flavor}-haproxyctl %{python_sitelib}/* -%{_bindir}/haproxyctl -%{_datadir}/%{name}/* +%python_alternative %{_bindir}/haproxyctl +%{_datadir}/%{python_flavor}-haproxyctl/* %changelog