File project.diff of Package python-aexpect

--- python-aexpect.changes.orig
+++ python-aexpect.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Fri Jul 18 07:47:58 UTC 2025 - Hillwood Yang <hillwood@opensuse.org>
+
+- Test does not work on loongarch64, disable it 
+
+-------------------------------------------------------------------
 Tue Dec 10 04:16:23 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
 
 - Add patch drop-use-of-pipes.patch:
--- python-aexpect.spec.orig
+++ python-aexpect.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-aexpect
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,7 @@ BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  bash
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives
@@ -44,6 +45,7 @@ sftp, telnet, among others.
 
 %prep
 %autosetup -p1 -n %{pkgname}-%{version}
+sed -i '/return RemoteSession/s/sh/bash/' tests/test_remote_door.py
 
 %build
 %pyproject_wheel
openSUSE Build Service is sponsored by