Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-ptyprocess for openSUSE:Factory checked in at 2024-09-25 21:52:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ptyprocess (Old) and /work/SRC/openSUSE:Factory/.python-ptyprocess.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ptyprocess" Wed Sep 25 21:52:56 2024 rev:11 rq:1202970 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ptyprocess/python-ptyprocess.changes 2024-08-01 22:03:27.250053188 +0200 +++ /work/SRC/openSUSE:Factory/.python-ptyprocess.new.29891/python-ptyprocess.changes 2024-09-25 21:53:06.099808599 +0200 @@ -1,0 +2,5 @@ +Tue Sep 24 12:20:37 UTC 2024 - ecsos <[email protected]> + +- Fix build error under Leap. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ptyprocess.spec ++++++ --- /var/tmp/diff_new_pack.dPWe4t/_old 2024-09-25 21:53:06.531826568 +0200 +++ /var/tmp/diff_new_pack.dPWe4t/_new 2024-09-25 21:53:06.535826734 +0200 @@ -27,7 +27,7 @@ URL: https://github.com/pexpect/ptyprocess Source: https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz # PATCH-FIX-UPSTREAM - gh/pexpect/ptyprocess#75 - Remove unittest.makeSuite, gone from Python 3.13 -Patch: https://github.com/pexpect/ptyprocess/pull/75.patch#/remove-old-unittest-functions.patch +Patch1: https://github.com/pexpect/ptyprocess/pull/75.patch#/remove-old-unittest-functions.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -46,13 +46,18 @@ %prep %setup -q -n ptyprocess-%{version} -%patch -P0 -p1 +%patch -P 1 -p1 %build %python_build %install %python_install +# Fix python-bytecode-inconsistent-mtime +pushd %{buildroot}%{python_sitelib} +find . -name '*.pyc' -exec rm -f '{}' ';' +python%python_bin_suffix -m compileall *.py ';' +popd %python_expand %fdupes %{buildroot}%{$python_sitelib} %check
