From 0a9318b5c64b58ac8e528215b471a7b427e2ead052d0d0f074a9ae353104d646 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 20 Jan 2025 01:29:18 +0000 Subject: [PATCH] - 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 --- python-pytest-isort.changes | 5 +++++ python-pytest-isort.spec | 9 +++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-pytest-isort.changes b/python-pytest-isort.changes index 28bb437..4b4ea23 100644 --- a/python-pytest-isort.changes +++ b/python-pytest-isort.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 20 01:29:03 UTC 2025 - Steve Kowalik + +- Don't remove installed LICENSE, new poetry doesn't install it. + ------------------------------------------------------------------- Wed Aug 14 14:54:50 UTC 2024 - Dirk Müller diff --git a/python-pytest-isort.spec b/python-pytest-isort.spec index 2edcaa3..566970b 100644 --- a/python-pytest-isort.spec +++ b/python-pytest-isort.spec @@ -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