From 51648567081d629e62daf60c20a708a3dcb2c39db9c29ed23466412d8aacbe2f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Mar 2024 05:54:48 +0000 Subject: [PATCH] Accepting request 1155640 from home:bmwiedemann:branches:devel:languages:python Fix build with --nocheck OBS-URL: https://build.opensuse.org/request/show/1155640 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypuppetdb?expand=0&rev=16 --- python-pypuppetdb.changes | 5 +++++ python-pypuppetdb.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-pypuppetdb.changes b/python-pypuppetdb.changes index 0827461..8912105 100644 --- a/python-pypuppetdb.changes +++ b/python-pypuppetdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 6 15:47:50 UTC 2024 - Bernhard Wiedemann + +- Fix build with --nocheck + ------------------------------------------------------------------- Thu Apr 7 08:24:33 UTC 2022 - pgajdos@suse.com diff --git a/python-pypuppetdb.spec b/python-pypuppetdb.spec index bd70503..4c48911 100644 --- a/python-pypuppetdb.spec +++ b/python-pypuppetdb.spec @@ -51,12 +51,13 @@ More information: https://github.com/nedap/pypuppetdb %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +# requirements-test.txt packages oddly +rm %{buildroot}/usr/requirements_for_tests/requirements-test.txt + %check # https://github.com/voxpupuli/pypuppetdb/issues/227 sed -i 's:import mock:from unittest import mock:' tests/test_*.py %pytest -# requirements-test.txt packages oddly -rm %{buildroot}/usr/requirements_for_tests/requirements-test.txt %files %{python_files} %doc README.md CHANGELOG.md