- 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:
2025-01-20 01:29:18 +00:00
committed by Git OBS Bridge
parent 8fa81ec855
commit 0a9318b5c6
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> 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 # 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