forked from pool/python-pytest-isort
- Don't remove installed LICENSE, new poetry doesn't install it.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-isort?expand=0&rev=23
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 20 01:29:03 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Don't remove installed LICENSE, new poetry doesn't install it.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 14 14:54:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Wed Aug 14 14:54:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-isort
|
# spec file for package python-pytest-isort
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -47,10 +47,7 @@ This is a pytest plugin to check import ordering using isort.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%{python_expand #
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
rm %{buildroot}%{$python_sitelib}/LICENSE.rst
|
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
@@ -59,6 +56,6 @@ rm %{buildroot}%{$python_sitelib}/LICENSE.rst
|
|||||||
%doc CHANGELOG.rst README.rst
|
%doc CHANGELOG.rst README.rst
|
||||||
%license LICENSE.rst
|
%license LICENSE.rst
|
||||||
%{python_sitelib}/pytest_isort
|
%{python_sitelib}/pytest_isort
|
||||||
%{python_sitelib}/pytest_isort-%{version}*-info
|
%{python_sitelib}/pytest_isort-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user