Hello community, here is the log from the commit of package python-hl7apy for openSUSE:Factory checked in at 2020-05-26 17:24:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hl7apy (Old) and /work/SRC/openSUSE:Factory/.python-hl7apy.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hl7apy" Tue May 26 17:24:03 2020 rev:6 rq:808823 version:1.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hl7apy/python-hl7apy.changes 2020-05-03 22:46:31.051067161 +0200 +++ /work/SRC/openSUSE:Factory/.python-hl7apy.new.2738/python-hl7apy.changes 2020-05-26 17:24:06.260591895 +0200 @@ -1,0 +2,5 @@ +Mon May 25 10:59:18 UTC 2020 - Petr Gajdos <pgaj...@suse.com> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hl7apy.spec ++++++ --- /var/tmp/diff_new_pack.7jdc6M/_old 2020-05-26 17:24:06.900593270 +0200 +++ /var/tmp/diff_new_pack.7jdc6M/_new 2020-05-26 17:24:06.900593270 +0200 @@ -18,7 +18,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} - Name: python-hl7apy Version: 1.3.3 Release: 0 @@ -31,7 +30,8 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -56,12 +56,18 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/hl7apy_profile_parser + +%post +%python_install_alternative hl7apy_profile_parser + +%postun +%python_uninstall_alternative hl7apy_profile_parser %files %{python_files} -%defattr(-,root,root,-) %doc AUTHORS %license LICENSE -%python3_only %{_bindir}/hl7apy_profile_parser +%python_alternative %{_bindir}/hl7apy_profile_parser %{python_sitelib}/* %changelog