Hello community,

here is the log from the commit of package python-check-manifest for 
openSUSE:Factory checked in at 2020-06-05 19:58:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-check-manifest (Old)
 and      /work/SRC/openSUSE:Factory/.python-check-manifest.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-check-manifest"

Fri Jun  5 19:58:47 2020 rev:8 rq:808800 version:0.40

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-check-manifest/python-check-manifest.changes  
    2020-05-02 22:16:07.468383587 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-check-manifest.new.3606/python-check-manifest.changes
    2020-06-05 19:58:48.927648388 +0200
@@ -1,0 +2,5 @@
+Mon May 25 10:59:13 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-check-manifest.spec ++++++
--- /var/tmp/diff_new_pack.yaYsA8/_old  2020-06-05 19:58:49.755651252 +0200
+++ /var/tmp/diff_new_pack.yaYsA8/_new  2020-06-05 19:58:49.759651266 +0200
@@ -24,8 +24,8 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-Name:           python-check-manifest%{psuffix}
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+Name:           python-check-manifest%{psuffix}
 Version:        0.40
 Release:        0
 Summary:        Tool to check Python source package MANIFEST.in for 
completeness
@@ -39,17 +39,19 @@
 BuildRequires:  %{python_module toml}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  git-core
-BuildRequires:  mercurial
-BuildRequires:  subversion
-%endif
 Requires:       python-setuptools
 Requires:       python-toml
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Suggests:       git-core
 Suggests:       mercurial
 Suggests:       subversion
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  git-core
+BuildRequires:  mercurial
+BuildRequires:  subversion
+%endif
 %python_subpackages
 
 %description
@@ -67,6 +69,7 @@
 %install
 %if !%{with test}
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/check-manifest
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
@@ -77,10 +80,16 @@
 %endif
 
 %if !%{with test}
+%post
+%python_install_alternative check-manifest
+
+%postun
+%python_uninstall_alternative check-manifest
+
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license LICENSE.rst
-%python3_only %{_bindir}/check-manifest
+%python_alternative %{_bindir}/check-manifest
 %{python_sitelib}/*
 %endif
 


Reply via email to