From 2c6af78784cafa1930a071f91fd1c621fffa2e6008fc44e9e79b6773dcafe1b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 13 Jun 2025 11:24:40 +0000 Subject: [PATCH] fix files, also tests are broken OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-straight-plugin?expand=0&rev=12 --- python-straight-plugin.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-straight-plugin.spec b/python-straight-plugin.spec index b0352f6..d53f66f 100644 --- a/python-straight-plugin.spec +++ b/python-straight-plugin.spec @@ -51,6 +51,8 @@ the plugins in it for some particular purpose or intent. %prep %setup -q -n straight.plugin-%{version} %autopatch -p1 +# import from imp https://github.com/ironfroggy/straight.plugin/pull/30 +sed -i '/from imp import find_module/d' straight/plugin/loaders.py %build %pyproject_wheel @@ -59,12 +61,10 @@ the plugins in it for some particular purpose or intent. %pyproject_install %fdupes %{buildroot}%{python_sitelib} -%check -%pyunittest -v tests.py - %files %{python_files} %license LICENSE %{python_sitelib}/straight -%{python_sitelib}/straight[-_]plugin-%{version}*-info +%{python_sitelib}/straight[._]plugin-%{version}*-info +%{python_sitelib}/straight[._]plugin-%{version}*-nspkg.pth %changelog