From a856e5fe5afe0e52830ddaf3df7af34f63bfcd78fcc765c41e69e08c4f15baea Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 15 Mar 2022 08:06:41 +0000 Subject: [PATCH 1/2] Accepting request 961805 from home:coolo:branches:devel:languages:python - %fdupes isn't python, remove %python_exec OBS-URL: https://build.opensuse.org/request/show/961805 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=10 --- python-inflect.changes | 5 +++++ python-inflect.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-inflect.changes b/python-inflect.changes index 3ec7495..2e18d74 100644 --- a/python-inflect.changes +++ b/python-inflect.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 15 08:04:50 UTC 2022 - Stephan Kulow + +- %fdupes isn't python, remove %python_exec + ------------------------------------------------------------------- Wed Jan 20 15:12:07 UTC 2021 - John Vandenberg diff --git a/python-inflect.spec b/python-inflect.spec index b24003e..689f6e6 100644 --- a/python-inflect.spec +++ b/python-inflect.spec @@ -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} +%fdupes %{buildroot}%{$python_sitelib} %check %pytest tests/ From 268c92acfbd2607d60250b92506b41d667ffee0a0b966b3fb0953b615f4cd36c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 15 Mar 2022 08:49:37 +0000 Subject: [PATCH 2/2] - use %python_expand for %fdupes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=11 --- python-inflect.changes | 2 +- python-inflect.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-inflect.changes b/python-inflect.changes index 2e18d74..750a2c7 100644 --- a/python-inflect.changes +++ b/python-inflect.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Tue Mar 15 08:04:50 UTC 2022 - Stephan Kulow -- %fdupes isn't python, remove %python_exec +- use %python_expand for %fdupes ------------------------------------------------------------------- Wed Jan 20 15:12:07 UTC 2021 - John Vandenberg diff --git a/python-inflect.spec b/python-inflect.spec index 689f6e6..af5c15c 100644 --- a/python-inflect.spec +++ b/python-inflect.spec @@ -50,7 +50,7 @@ sed -i 's/addopts=--doctest-modules --flake8 --black --cov/addopts=--doctest-mod %install %python_install -%fdupes %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest tests/