From 07fcf2c449f894078ae96a96e08f4a482a16d30bdd119901e1cd24a041dd09cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 Feb 2024 08:52:19 +0000 Subject: [PATCH] Accepting request 1152021 from home:jaimeMF:branches:devel:languages:python - Remove unneeded call to find -name '*.snap' | xargs rm OBS-URL: https://build.opensuse.org/request/show/1152021 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gvm-tools?expand=0&rev=21 --- python-gvm-tools.changes | 5 +++++ python-gvm-tools.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-gvm-tools.changes b/python-gvm-tools.changes index 9c4d379..4f8df36 100644 --- a/python-gvm-tools.changes +++ b/python-gvm-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 27 07:10:34 UTC 2024 - Jaime Marquínez Ferrándiz + +- Remove unneeded call to find -name '*.snap' | xargs rm + ------------------------------------------------------------------- Sat Jan 20 19:39:26 UTC 2024 - Dirk Müller diff --git a/python-gvm-tools.spec b/python-gvm-tools.spec index c36fa73..ae13acc 100644 --- a/python-gvm-tools.spec +++ b/python-gvm-tools.spec @@ -32,7 +32,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-python-gvm >= 23.4.2 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} @@ -72,8 +72,7 @@ without programming in Python. %python_uninstall_alternative gvm-cli %check -%{python_expand find -name '*.snap' | xargs rm -export PYTHONPATH=%{buildroot}%{$python_sitelib} +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} export PYTHONDONTWRITEBYTECODE=1 py.test-%{$python_version} -vv --ignore-glob=_build.* }