Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py7zr for openSUSE:Factory checked in at 2021-04-06 17:31:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-py7zr (Old) and /work/SRC/openSUSE:Factory/.python-py7zr.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py7zr" Tue Apr 6 17:31:09 2021 rev:2 rq:883194 version:0.11.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-py7zr/python-py7zr.changes 2021-02-26 21:59:10.243806028 +0100 +++ /work/SRC/openSUSE:Factory/.python-py7zr.new.2401/python-py7zr.changes 2021-04-06 17:32:44.523324666 +0200 @@ -1,0 +2,6 @@ +Sat Apr 3 12:20:11 UTC 2021 - Ismail D??nmez <idon...@suse.com> + +- Fix sed line to use python3 and add a replacement for /usr/bin/python + as well. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-py7zr.spec ++++++ --- /var/tmp/diff_new_pack.WmlBOJ/_old 2021-04-06 17:32:44.923325118 +0200 +++ /var/tmp/diff_new_pack.WmlBOJ/_new 2021-04-06 17:32:44.927325123 +0200 @@ -22,30 +22,30 @@ Version: 0.11.3 Release: 0 Summary: Library and utility to support 7zip -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Languages/Python URL: https://github.com/miurahr/py7zr Source0: https://files.pythonhosted.org/packages/source/p/py7zr/py7zr-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module pep517} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} # begin test BuildRequires: %{python_module pytest} BuildRequires: %{python_module coverage} -BuildRequires: %{python_module toml} +BuildRequires: %{python_module pathlib} BuildRequires: %{python_module pycryptodome} -BuildRequires: %{python_module texttable} BuildRequires: %{python_module pylzma} -BuildRequires: %{python_module pathlib} +BuildRequires: %{python_module texttable} +BuildRequires: %{python_module toml} # end test BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-texttable Requires: python-pycryptodome +Requires: python-texttable Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives #BuildArch: noarch %python_subpackages @@ -54,7 +54,11 @@ %prep %setup -q -n py7zr-%{version} -find . -type f -name "*.py" -exec sed -i -e 's|/usr/bin/env python|/usr/bin/python|g' {} \; +find . -type f -name "*.py" -exec sed -i \ + -e '1s|/usr/bin/env python$|/usr/bin/python3|g' \ + -e '1s|/usr/bin/python |/usr/bin/python3 |g' \ + {} \; + sed -i -e 's|setuptools-scm>=3.5.0|setuptools-scm|g' setup.cfg %build