Accepting request 961820 from devel:languages:python

- use %python_expand for %fdupes

OBS-URL: https://build.opensuse.org/request/show/961820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflect?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2022-03-17 16:01:18 +00:00 committed by Git OBS Bridge
commit cb52642b8d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 15 08:04:50 UTC 2022 - Stephan Kulow <coolo@suse.com>
- use %python_expand for %fdupes
-------------------------------------------------------------------
Wed Jan 20 15:12:07 UTC 2021 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-inflect
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -50,7 +50,7 @@ sed -i 's/addopts=--doctest-modules --flake8 --black --cov/addopts=--doctest-mod
%install
%python_install
%python_exec %fdupes %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests/