fix files, also tests are broken
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-straight-plugin?expand=0&rev=12
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user