Hello community,

here is the log from the commit of package python-abimap for openSUSE:Factory 
checked in at 2020-05-28 09:18:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-abimap (Old)
 and      /work/SRC/openSUSE:Factory/.python-abimap.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-abimap"

Thu May 28 09:18:42 2020 rev:5 rq:809598 version:0.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-abimap/python-abimap.changes      
2019-08-23 11:05:45.134492407 +0200
+++ /work/SRC/openSUSE:Factory/.python-abimap.new.3606/python-abimap.changes    
2020-05-28 09:18:43.929144288 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:35:56 UTC 2020 - Petr Gajdos <pgaj...@suse.com>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-abimap.spec ++++++
--- /var/tmp/diff_new_pack.nHR5iv/_old  2020-05-28 09:18:44.481145299 +0200
+++ /var/tmp/diff_new_pack.nHR5iv/_new  2020-05-28 09:18:44.485145306 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-abimap
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module PyYAML}
@@ -70,17 +72,26 @@
 install -d -m 0755 %{buildroot}%{_mandir}/man1
 install -m 0644 man/abimap.1 %{buildroot}%{_mandir}/man1/
 
+%python_clone -a %{buildroot}%{_mandir}/man1/abimap.1
+%python_clone -a %{buildroot}%{_bindir}/abimap
+
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-make -j1 -C tests ABIMAP_NAME_VERSION="abimap-%{version}" 
ABIMAP_VERSION="%{version}"
+%make_build -j1 -C tests ABIMAP_NAME_VERSION="abimap-%{version}" 
ABIMAP_VERSION="%{version}"
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD}/tests 
py.test-%{$python_version} -vv tests -k 'not test_main'
 
+%post
+%python_install_alternative abimap abimap.1
+
+%postun
+%python_uninstall_alternative abimap
+
 %files %{python_files}
 %doc AUTHORS.rst CHANGELOG.rst README.rst
 %license LICENSE
-%python3_only %{_bindir}/abimap
-%python3_only %{_mandir}/man1/abimap.1*
+%python_alternative %{_bindir}/abimap
+%python_alternative %{_mandir}/man1/abimap.1%{?ext_man}
 %{python_sitelib}/*
 
 %files %{python_files doc}


Reply via email to