Hello community, here is the log from the commit of package python-xlrd for openSUSE:Factory checked in at 2020-05-28 09:06:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xlrd (Old) and /work/SRC/openSUSE:Factory/.python-xlrd.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xlrd" Thu May 28 09:06:14 2020 rev:12 rq:805778 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xlrd/python-xlrd.changes 2018-12-24 11:48:00.793101102 +0100 +++ /work/SRC/openSUSE:Factory/.python-xlrd.new.3606/python-xlrd.changes 2020-05-28 09:06:19.959521520 +0200 @@ -1,0 +2,5 @@ +Fri May 15 09:23:16 UTC 2020 - [email protected] + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xlrd.spec ++++++ --- /var/tmp/diff_new_pack.FQOOPz/_old 2020-05-28 09:06:21.203525250 +0200 +++ /var/tmp/diff_new_pack.FQOOPz/_new 2020-05-28 09:06:21.211525274 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-xlrd # -# 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 @@ -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/ # @@ -20,21 +20,23 @@ Name: python-xlrd Version: 1.2.0 Release: 0 -Url: http://www.lexicon.net/sjmachin/xlrd.htm Summary: Python module for extracting data from Excel spreadsheet files License: BSD-3-Clause Group: Development/Languages/Python +URL: http://www.lexicon.net/sjmachin/xlrd.htm Source: https://files.pythonhosted.org/packages/source/x/xlrd/xlrd-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives +Recommends: python-defusedxml +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module defusedxml} BuildRequires: %{python_module nose} # /SECTION -Recommends: python-defusedxml -BuildArch: noarch %python_subpackages %description @@ -51,6 +53,13 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} mv %{buildroot}%{_bindir}/runxlrd.py %{buildroot}%{_bindir}/runxlrd +%python_clone -a %{buildroot}%{_bindir}/runxlrd + +%post +%python_install_alternative runxlrd + +%postun +%python_uninstall_alternative runxlrd %check %python_expand nosetests-%{$python_bin_suffix} @@ -58,7 +67,7 @@ %files %{python_files} %doc README.md %license docs/licenses.rst -%python3_only %{_bindir}/runxlrd +%python_alternative %{_bindir}/runxlrd %{python_sitelib}/* %changelog
