Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-shaptools for openSUSE:Factory checked in at 2021-02-18 20:40:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-shaptools (Old) and /work/SRC/openSUSE:Factory/.python-shaptools.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-shaptools" Thu Feb 18 20:40:10 2021 rev:17 rq:870564 version:0.3.11+git.1612877404.cfeb51c Changes: -------- --- /work/SRC/openSUSE:Factory/python-shaptools/python-shaptools.changes 2020-11-23 10:46:30.538363395 +0100 +++ /work/SRC/openSUSE:Factory/.python-shaptools.new.28504/python-shaptools.changes 2021-02-18 20:52:25.679440354 +0100 @@ -1,0 +2,5 @@ +Tue Feb 9 13:26:18 UTC 2021 - Xabier Arbulu <xarb...@suse.com> + +- Fix spec file to build properly the shapcli executable + +------------------------------------------------------------------- Old: ---- python-shaptools-0.3.11+git.1605798399.b036435.tar.gz New: ---- python-shaptools-0.3.11+git.1612877404.cfeb51c.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-shaptools.spec ++++++ --- /var/tmp/diff_new_pack.cJnxgO/_old 2021-02-18 20:52:26.115440763 +0100 +++ /var/tmp/diff_new_pack.cJnxgO/_new 2021-02-18 20:52:26.119440767 +0100 @@ -22,7 +22,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-shaptools -Version: 0.3.11+git.1605798399.b036435 +Version: 0.3.11+git.1612877404.cfeb51c Release: 0 Summary: Python tools to interact with SAP HANA utilities License: Apache-2.0 @@ -36,6 +36,8 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -53,6 +55,13 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} # do not install tests %python_expand rm -r %{buildroot}%{$python_sitelib}/tests +%python_clone -a %{buildroot}%{_bindir}/shapcli + +%post +%python_install_alternative shapcli + +%postun +%python_uninstall_alternative shapcli %if %{with test} %check @@ -67,6 +76,6 @@ %license LICENSE %endif %{python_sitelib}/* -%python3_only %{_bindir}/shapcli +%python_alternative %{_bindir}/shapcli %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.cJnxgO/_old 2021-02-18 20:52:26.151440797 +0100 +++ /var/tmp/diff_new_pack.cJnxgO/_new 2021-02-18 20:52:26.151440797 +0100 @@ -5,7 +5,7 @@ <param name="exclude">.git</param> <param name="filename">python-shaptools</param> <param name="versionformat">@PARENT_TAG@+git.%ct.%h</param> - <param name="revision">b036435c447ab11a3eff3fe4771e1ed43f127ff3</param> + <param name="revision">cfeb51cedf38934b3981ab102f17d4f06ef15c6b</param> </service> <service name="recompress" mode="disabled"> ++++++ python-shaptools-0.3.11+git.1605798399.b036435.tar.gz -> python-shaptools-0.3.11+git.1612877404.cfeb51c.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-shaptools-0.3.11+git.1605798399.b036435/python-shaptools.changes new/python-shaptools-0.3.11+git.1612877404.cfeb51c/python-shaptools.changes --- old/python-shaptools-0.3.11+git.1605798399.b036435/python-shaptools.changes 2020-11-19 16:06:39.000000000 +0100 +++ new/python-shaptools-0.3.11+git.1612877404.cfeb51c/python-shaptools.changes 2021-02-09 14:30:04.000000000 +0100 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Feb 9 13:26:18 UTC 2021 - Xabier Arbulu <xarb...@suse.com> + +- Fix spec file to build properly the shapcli executable + +------------------------------------------------------------------- Thu Sep 24 12:16:46 UTC 2020 - Xabier Arbulu <xarb...@suse.com> - Create version 0.3.11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-shaptools-0.3.11+git.1605798399.b036435/python-shaptools.spec new/python-shaptools-0.3.11+git.1612877404.cfeb51c/python-shaptools.spec --- old/python-shaptools-0.3.11+git.1605798399.b036435/python-shaptools.spec 2020-11-19 16:06:39.000000000 +0100 +++ new/python-shaptools-0.3.11+git.1612877404.cfeb51c/python-shaptools.spec 2021-02-09 14:30:04.000000000 +0100 @@ -36,6 +36,8 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -53,6 +55,13 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} # do not install tests %python_expand rm -r %{buildroot}%{$python_sitelib}/tests +%python_clone -a %{buildroot}%{_bindir}/shapcli + +%post +%python_install_alternative shapcli + +%postun +%python_uninstall_alternative shapcli %if %{with test} %check @@ -67,6 +76,6 @@ %license LICENSE %endif %{python_sitelib}/* -%python3_only %{_bindir}/shapcli +%python_alternative %{_bindir}/shapcli %changelog