From 811692357fd54c9bbc1ae296101c15e52755a66daceb1b8bce5ef6b6f141bbed Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Mar 2024 08:48:30 +0000 Subject: [PATCH] - Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypuppetdb?expand=0&rev=17 --- python-pypuppetdb.changes | 5 +++++ python-pypuppetdb.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-pypuppetdb.changes b/python-pypuppetdb.changes index 8912105..fde3939 100644 --- a/python-pypuppetdb.changes +++ b/python-pypuppetdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 7 08:48:08 UTC 2024 - Matej Cepl + +- Clean up the SPEC file + ------------------------------------------------------------------- Wed Mar 6 15:47:50 UTC 2024 - Bernhard Wiedemann diff --git a/python-pypuppetdb.spec b/python-pypuppetdb.spec index 4c48911..dbda310 100644 --- a/python-pypuppetdb.spec +++ b/python-pypuppetdb.spec @@ -1,7 +1,7 @@ # # spec file for package python-pypuppetdb # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pypuppetdb Version: 2.5.1 @@ -52,7 +51,7 @@ More information: https://github.com/nedap/pypuppetdb %python_expand %fdupes %{buildroot}%{$python_sitelib} # requirements-test.txt packages oddly -rm %{buildroot}/usr/requirements_for_tests/requirements-test.txt +rm %{buildroot}%{_prefix}/requirements_for_tests/requirements-test.txt %check # https://github.com/voxpupuli/pypuppetdb/issues/227 @@ -62,6 +61,7 @@ sed -i 's:import mock:from unittest import mock:' tests/test_*.py %files %{python_files} %doc README.md CHANGELOG.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pypuppetdb +%{python_sitelib}/pypuppetdb-%{version}*-info %changelog