Accepting request 1238865 from devel:languages:python:pytest

- Don't remove installed LICENSE, new poetry doesn't install it.

OBS-URL: https://build.opensuse.org/request/show/1238865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-isort?expand=0&rev=11
This commit is contained in:
2025-01-20 16:14:30 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 6 deletions

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# 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
%pyproject_install
%{python_expand #
rm %{buildroot}%{$python_sitelib}/LICENSE.rst
%fdupes %{buildroot}%{$python_sitelib}
}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
@@ -59,6 +56,6 @@ rm %{buildroot}%{$python_sitelib}/LICENSE.rst
%doc CHANGELOG.rst README.rst
%license LICENSE.rst
%{python_sitelib}/pytest_isort
%{python_sitelib}/pytest_isort-%{version}*-info
%{python_sitelib}/pytest_isort-%{version}.dist-info
%changelog