Hello community,

here is the log from the commit of package python-sas7bdat for 
openSUSE:Leap:15.2 checked in at 2020-05-24 18:08:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-sas7bdat (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-sas7bdat.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sas7bdat"

Sun May 24 18:08:54 2020 rev:5 rq:808447 version:2.2.3

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-sas7bdat/python-sas7bdat.changes        
2020-03-02 13:22:28.102292309 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-sas7bdat.new.2738/python-sas7bdat.changes  
    2020-05-24 18:08:54.886138376 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:53 UTC 2020 - Petr Gajdos <[email protected]>
+
+- %python3_only -> %python_alternative
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-sas7bdat.spec ++++++
--- /var/tmp/diff_new_pack.EDtr0m/_old  2020-05-24 18:08:55.162138973 +0200
+++ /var/tmp/diff_new_pack.EDtr0m/_new  2020-05-24 18:08:55.162138973 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sas7bdat
 #
-# 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,15 +23,16 @@
 Summary:        A sas7bdat file reader for Python
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://bitbucket.org/jaredhobbs/sas7bdat
+URL:            https://bitbucket.org/jaredhobbs/sas7bdat
 Source:         
https://files.pythonhosted.org/packages/source/s/sas7bdat/sas7bdat-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.8.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-six >= 1.8.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -54,18 +55,25 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/sas7bdat_to_csv
 
-%{python_expand sed -i "s|^#!/usr/bin/env python$|#!%__$python|" 
%{buildroot}%{$python_sitelib}/sas7bdat.py
+%{python_expand sed -i "s|^#!%{_bindir}/env python$|#!%__$python|" 
%{buildroot}%{$python_sitelib}/sas7bdat.py
 chmod a+x %{buildroot}%{$python_sitelib}/sas7bdat.py
 $python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
 $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
 %fdupes %{buildroot}%{$python_sitelib}
 }
 
+%post
+%python_install_alternative sas7bdat_to_csv
+
+%postun
+%python_uninstall_alternative sas7bdat_to_csv
+
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%python3_only %{_bindir}/sas7bdat_to_csv
+%python_alternative %{_bindir}/sas7bdat_to_csv
 %{python_sitelib}/*
 
 %changelog


Reply via email to