Hello community,

here is the log from the commit of package python-linux-procfs for 
openSUSE:Factory checked in at 2020-05-26 17:23:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-linux-procfs (Old)
 and      /work/SRC/openSUSE:Factory/.python-linux-procfs.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-linux-procfs"

Tue May 26 17:23:25 2020 rev:2 rq:808684 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-linux-procfs/python-linux-procfs.changes  
2018-12-12 17:29:06.698829229 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-linux-procfs.new.2738/python-linux-procfs.changes
        2020-05-26 17:23:25.632504551 +0200
@@ -1,0 +2,5 @@
+Mon May 25 06:50:38 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-linux-procfs.spec ++++++
--- /var/tmp/diff_new_pack.wUvnX8/_old  2020-05-26 17:23:26.132505626 +0200
+++ /var/tmp/diff_new_pack.wUvnX8/_new  2020-05-26 17:23:26.136505634 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-linux-procfs
 #
-# Copyright (c) 2018 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
@@ -30,6 +30,8 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -44,14 +46,21 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/pflags
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec bitmasklist_test.py
 
+%post
+%python_install_alternative pflags
+
+%postun
+%python_uninstall_alternative pflags
+
 %files %{python_files}
 %{python_sitelib}/*
-%python3_only %{_bindir}/pflags
+%python_alternative %{_bindir}/pflags
 %license COPYING
 
 %changelog


Reply via email to