Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-console-scripts for 
openSUSE:Factory checked in at 2023-07-24 18:24:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-console-scripts (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-console-scripts.new.1467 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-console-scripts"

Mon Jul 24 18:24:46 2023 rev:12 rq:1099550 version:1.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-console-scripts/python-pytest-console-scripts.changes
      2023-06-01 17:21:17.414789865 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-console-scripts.new.1467/python-pytest-console-scripts.changes
    2023-07-24 18:24:49.557748167 +0200
@@ -1,0 +2,5 @@
+Wed Jul 19 13:34:19 UTC 2023 - ecsos <ec...@opensuse.org>
+
+- Fix build error for Leap.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pytest-console-scripts.spec ++++++
--- /var/tmp/diff_new_pack.ZMwnuh/_old  2023-07-24 18:24:50.313752608 +0200
+++ /var/tmp/diff_new_pack.ZMwnuh/_new  2023-07-24 18:24:50.317752631 +0200
@@ -24,7 +24,8 @@
 License:        MIT
 URL:            https://github.com/kvas-it/pytest-console-scripts
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-console-scripts/pytest-console-scripts-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-pytest >= 4.0.0
@@ -49,19 +50,24 @@
 %autosetup -n pytest-console-scripts-%{version} -p1
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+%if 0%{?suse_version} > 1500
 sed -i 's:env python:env python3:' tests/test_run_scripts.py
+%else
+sed -i 's:env python:env python%{python_bin_suffix}:' tests/test_run_scripts.py
+%endif
 %pytest
 
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{python_sitelib}/*
+%{python_sitelib}/pytest_console_scripts
+%{python_sitelib}/pytest_console_scripts-%{version}*-info
 
 %changelog

Reply via email to